summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-06-15 16:03:57 +0000
committerJim Meyering <jim@meyering.net>2002-06-15 16:03:57 +0000
commit6a4bcbb5d620470d75e639e844cd6157dea36cf1 (patch)
tree6400a6e2ca30dada96e709de9e910c34cbf7a5a7 /src
parent240330ca78648d9d7663e8aeeaf9f1f97f1df209 (diff)
downloadcoreutils-6a4bcbb5d620470d75e639e844cd6157dea36cf1.tar.xz
Include <sys/types.h> before system.h.
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"