From: Jim Meyering Date: Fri, 17 Nov 2000 08:31:01 +0000 (+0000) Subject: Explicitly include sys/types.h before including system.h. X-Git-Tag: FILEUTILS-4_0_33~102 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=7daa83a149b8bb7fe1a50187f485ee48cc901153;p=thirdparty%2Fcoreutils.git Explicitly include sys/types.h before including system.h. --- diff --git a/src/pinky.c b/src/pinky.c index ae36e0ff9d..e7899f552c 100644 --- a/src/pinky.c +++ b/src/pinky.c @@ -22,7 +22,9 @@ #include #include +#include #include "system.h" + #include "error.h" #include "readutmp.h" #include "closeout.h" diff --git a/src/uptime.c b/src/uptime.c index eec73771a6..779dff73b6 100644 --- a/src/uptime.c +++ b/src/uptime.c @@ -21,10 +21,12 @@ #include #include +#include +#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 9a6d277d0b..2c1b519955 100644 --- a/src/users.c +++ b/src/users.c @@ -21,10 +21,12 @@ #include #include +#include +#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/who.c b/src/who.c index a937365e12..06b01a7df1 100644 --- a/src/who.c +++ b/src/who.c @@ -28,9 +28,11 @@ #include #include +#include +#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). */