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.16 by tdb, Wed Jan 21 11:32:27 2004 UTC vs.
Revision 1.19 by tdb, Mon Feb 16 14:55:32 2004 UTC

# Line 32 | Line 32
32   #ifdef ALLBSD
33   #include <sys/types.h>
34   #endif
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 40 | Line 46
46   #ifdef SOLARIS
47   #define MAX_LOGIN_NAME_SIZE 8
48   #endif
49 < #if defined(LINUX) || defined(FREEBSD)
49 > #if defined(LINUX) || defined(FREEBSD) || defined(DFBSD)
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