projects
/
unix-history
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0282af4
)
add sys/types.h for pwd.h
author
Keith Bostic
<bostic@ucbvax.Berkeley.EDU>
Sat, 4 Mar 1989 01:20:34 +0000
(17:20 -0800)
committer
Keith 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
patch
|
blob
|
blame
|
history
diff --git
a/usr/src/usr.bin/who/who.c
b/usr/src/usr.bin/who/who.c
index
93d7b7f
..
2ec16de
100644
(file)
--- a/
usr/src/usr.bin/who/who.c
+++ b/
usr/src/usr.bin/who/who.c
@@
-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 <s
tdio
.h>
+#include <s
ys/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)