diff options
author | Jim Meyering <jim@meyering.net> | 2000-11-17 08:31:01 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-11-17 08:31:01 +0000 |
commit | 7daa83a149b8bb7fe1a50187f485ee48cc901153 (patch) | |
tree | 19be42c610b9e919b90826822a0233479ec4d24c /src | |
parent | b73eb2433da3bd3e4397ff638789e43b5fd80309 (diff) | |
download | coreutils-7daa83a149b8bb7fe1a50187f485ee48cc901153.tar.xz |
Explicitly include sys/types.h before including system.h.
Diffstat (limited to 'src')
-rw-r--r-- | src/pinky.c | 2 | ||||
-rw-r--r-- | src/uptime.c | 4 | ||||
-rw-r--r-- | src/users.c | 4 | ||||
-rw-r--r-- | src/who.c | 4 |
4 files changed, 11 insertions, 3 deletions
diff --git a/src/pinky.c b/src/pinky.c index ae36e0ff9..e7899f552 100644 --- a/src/pinky.c +++ b/src/pinky.c @@ -22,7 +22,9 @@ #include <pwd.h> #include <stdio.h> +#include <sys/types.h> #include "system.h" + #include "error.h" #include "readutmp.h" #include "closeout.h" diff --git a/src/uptime.c b/src/uptime.c index eec73771a..779dff73b 100644 --- a/src/uptime.c +++ b/src/uptime.c @@ -21,10 +21,12 @@ #include <getopt.h> #include <stdio.h> +#include <sys/types.h> +#include "system.h" + #include "error.h" #include "long-options.h" #include "readutmp.h" -#include "system.h" #include "closeout.h" /* The official name of this program (e.g., no `g' prefix). */ diff --git a/src/users.c b/src/users.c index 9a6d277d0..2c1b51995 100644 --- a/src/users.c +++ b/src/users.c @@ -21,10 +21,12 @@ #include <getopt.h> #include <stdio.h> +#include <sys/types.h> +#include "system.h" + #include "error.h" #include "long-options.h" #include "readutmp.h" -#include "system.h" #include "closeout.h" /* The official name of this program (e.g., no `g' prefix). */ @@ -28,9 +28,11 @@ #include <getopt.h> #include <stdio.h> +#include <sys/types.h> +#include "system.h" + #include "error.h" #include "readutmp.h" -#include "system.h" #include "closeout.h" /* The official name of this program (e.g., no `g' prefix). */ |