]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Explicitly include sys/types.h before including system.h.
authorJim Meyering <jim@meyering.net>
Fri, 17 Nov 2000 08:31:01 +0000 (08:31 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 17 Nov 2000 08:31:01 +0000 (08:31 +0000)
src/pinky.c
src/uptime.c
src/users.c
src/who.c

index ae36e0ff9dda0b4e763caf62d4e86a94d76c2966..e7899f552c57ea488140de6597fcd7566387695f 100644 (file)
@@ -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"
index eec73771a6cfe8f48990c281440a89d58eb00423..779dff73b6d11750c19c297971fc5f39bef21529 100644 (file)
 #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).  */
index 9a6d277d0b46edfb726b5d0abfe684160d121384..2c1b5199551ac46e1aae95dd2aa356045352a28e 100644 (file)
 #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).  */
index a937365e122a38ac5e948624a5aae02922e268b7..06b01a7df14684613b01558a6bfdc52efb3e34ef 100644 (file)
--- a/src/who.c
+++ b/src/who.c
 #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).  */