# | Line 19 | Line 19 | |
---|---|---|
19 | */ | |
20 | ||
21 | #include <sys/types.h> | |
22 | + | #ifdef NETBSD |
23 | + | #include <limits.h> |
24 | + | #endif |
25 | ||
26 | typedef struct{ | |
27 | long long user; | |
# | Line 59 | Line 62 | typedef struct{ | |
62 | #endif | |
63 | #if defined(LINUX) || defined(FREEBSD) | |
64 | #define MAX_LOGIN_NAME_SIZE UT_NAMESIZE | |
65 | + | #endif |
66 | + | #ifdef NETBSD |
67 | + | #define MAX_LOGIN_NAME_SIZE _POSIX_LOGIN_NAME_MAX |
68 | #endif | |
69 | ||
70 | typedef struct{ |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |