diff options
author | mike <mike@FreeBSD.org> | 2002-06-09 19:29:55 +0000 |
---|---|---|
committer | mike <mike@FreeBSD.org> | 2002-06-09 19:29:55 +0000 |
commit | c1a6b37593a63bce8e662b7e8770e09a482d71d3 (patch) | |
tree | 2c126be0406b6d8d575a636e71bb1aa3c6159ef8 /contrib/top | |
parent | f357f8eda7149c95e5ad6d3bfb35e4997e479e98 (diff) | |
download | FreeBSD-src-c1a6b37593a63bce8e662b7e8770e09a482d71d3.zip FreeBSD-src-c1a6b37593a63bce8e662b7e8770e09a482d71d3.tar.gz |
Don't depend on <pwd.h> to bogusly include <sys/types.h>.
Diffstat (limited to 'contrib/top')
-rw-r--r-- | contrib/top/username.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/top/username.c b/contrib/top/username.c index dbead50..2359186 100644 --- a/contrib/top/username.c +++ b/contrib/top/username.c @@ -7,6 +7,8 @@ * * Copyright (c) 1984, 1989, William LeFebvre, Rice University * Copyright (c) 1989, 1990, 1992, William LeFebvre, Northwestern University + * + * $FreeBSD$ */ /* @@ -28,6 +30,7 @@ * This makes the table size independent of the passwd file size. */ +#include <sys/types.h> #include <stdio.h> #include <pwd.h> #include <utmp.h> |