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.14 by tdb, Fri Jan 16 15:54:54 2004 UTC vs.
Revision 1.18 by tdb, Thu Feb 12 23:04:52 2004 UTC

# Line 17 | Line 17
17   * License along with this library; if not, write to the Free Software
18   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
19   * 02111-1307 USA
20 + *
21 + * $Id$
22   */
23  
24   #ifdef HAVE_CONFIG_H
# Line 30 | 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>
44 + #endif
45  
46   #ifdef SOLARIS
47   #define MAX_LOGIN_NAME_SIZE 8
# Line 38 | 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