ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/libstatgrab/src/libstatgrab/user_stats.c
(Generate patch)

Comparing projects/libstatgrab/src/libstatgrab/user_stats.c (file contents):
Revision 1.17 by ats, Wed Jan 21 14:44:22 2004 UTC vs.
Revision 1.18 by tdb, Thu Feb 12 23:04:52 2004 UTC

# Line 32 | Line 32
32   #ifdef ALLBSD
33   #include <sys/types.h>
34   #endif
35 < #ifdef NETBSD
35 > #if defined(NETBSD) || defined(OPENBSD)
36   #include <limits.h>
37   #endif
38 + #ifdef OPENBSD
39 + #include <sys/param.h>
40 + #endif
41   #include <utmp.h>
42   #ifdef CYGWIN
43   #include <sys/unistd.h>
# Line 46 | Line 49
49   #if defined(LINUX) || defined(FREEBSD)
50   #define MAX_LOGIN_NAME_SIZE UT_NAMESIZE
51   #endif
52 < #ifdef NETBSD
52 > #if defined(NETBSD) || defined(OPENBSD)
53   #define MAX_LOGIN_NAME_SIZE _POSIX_LOGIN_NAME_MAX
54   #endif
55   #if defined(CYGWIN)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines