diff options
Diffstat (limited to 'source4/include')
-rw-r--r-- | source4/include/includes.h | 10 | ||||
-rw-r--r-- | source4/include/smb_interfaces.h | 2 | ||||
-rw-r--r-- | source4/include/system/passwd.h | 4 |
3 files changed, 5 insertions, 11 deletions
diff --git a/source4/include/includes.h b/source4/include/includes.h index dca1824b22..cda7f976c3 100644 --- a/source4/include/includes.h +++ b/source4/include/includes.h @@ -189,16 +189,6 @@ extern char *sys_errlist[]; extern int errno; #endif -#ifdef HAVE_BROKEN_GETGROUPS -#define GID_T int -#else -#define GID_T gid_t -#endif - -#ifndef NGROUPS_MAX -#define NGROUPS_MAX 32 /* Guess... */ -#endif - /* Our own pstrings and fstrings */ #include "pstring.h" diff --git a/source4/include/smb_interfaces.h b/source4/include/smb_interfaces.h index bdf8282356..c7698bd941 100644 --- a/source4/include/smb_interfaces.h +++ b/source4/include/smb_interfaces.h @@ -1128,7 +1128,7 @@ union smb_open { uint32_t size; uint16_t rmode; } out; - } open; + } openold; /* SMBopenX interface */ struct { diff --git a/source4/include/system/passwd.h b/source4/include/system/passwd.h index 215f53d138..901b1b92f2 100644 --- a/source4/include/system/passwd.h +++ b/source4/include/system/passwd.h @@ -64,3 +64,7 @@ int initgroups(char *name,gid_t id); #define crypt ufc_crypt #endif + +#ifndef NGROUPS_MAX +#define NGROUPS_MAX 32 /* Guess... */ +#endif |