# | Line 22 | Line 22 | |
---|---|---|
22 | #ifdef NETBSD | |
23 | #include <limits.h> | |
24 | #endif | |
25 | + | #ifdef CYGWIN |
26 | + | #include <sys/unistd.h> |
27 | + | #endif |
28 | ||
29 | typedef struct{ | |
30 | long long user; | |
# | Line 61 | Line 64 | typedef struct{ | |
64 | #define MAX_LOGIN_NAME_SIZE 8 | |
65 | #endif | |
66 | #if defined(LINUX) || defined(FREEBSD) | |
67 | + | #if defined(CYGWIN) |
68 | + | #define MAX_LOGIN_NAME_SIZE _SC_LOGIN_NAME_MAX |
69 | + | #else |
70 | #define MAX_LOGIN_NAME_SIZE UT_NAMESIZE | |
71 | + | #endif |
72 | #endif | |
73 | #ifdef NETBSD | |
74 | #define MAX_LOGIN_NAME_SIZE _POSIX_LOGIN_NAME_MAX |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |