add sys/types.h for pwd.h
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Sat, 4 Mar 1989 01:20:34 +0000 (17:20 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Sat, 4 Mar 1989 01:20:34 +0000 (17:20 -0800)
SCCS-vsn: usr.bin/who/who.c 5.6

usr/src/usr.bin/who/who.c

index 93d7b7f..2ec16de 100644 (file)
@@ -11,16 +11,17 @@ char copyright[] =
 #endif not lint
 
 #ifndef lint
 #endif not lint
 
 #ifndef lint
-static char sccsid[] = "@(#)who.c      5.5 (Berkeley) %G%";
+static char sccsid[] = "@(#)who.c      5.6 (Berkeley) %G%";
 #endif not lint
 
 /*
  * who
  */
 
 #endif not lint
 
 /*
  * who
  */
 
-#include <stdio.h>
+#include <sys/types.h>
 #include <utmp.h>
 #include <pwd.h>
 #include <utmp.h>
 #include <pwd.h>
+#include <stdio.h>
 #include <ctype.h>
 
 #define NMAX sizeof(utmp.ut_name)
 #include <ctype.h>
 
 #define NMAX sizeof(utmp.ut_name)