summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cksum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cksum.c b/src/cksum.c
index 9bef200e2..f98d27ddd 100644
--- a/src/cksum.c
+++ b/src/cksum.c
@@ -48,6 +48,7 @@
#define AUTHORS "Q. Frank Xia"
#include <stdio.h>
+#include <sys/types.h>
#include "system.h"
#if !defined UINT_FAST32_MAX && !defined uint_fast32_t
@@ -116,7 +117,6 @@ main (void)
#else /* !CRCTAB */
# include <getopt.h>
-# include <sys/types.h>
# include "closeout.h"
# include "long-options.h"
# include "error.h"