diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-07-29 05:05:36 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-07-29 05:05:36 +0000 |
commit | 8b25fe734166b76ceebf8d9543c706ebe0fddc96 (patch) | |
tree | afcb4704429fd8eace29fbe503458a85afc00b88 /source/include/includes.h | |
parent | 19aa9a1c95d357e1041e9a3ece89d7bb3cc6f6ac (diff) | |
download | samba-8b25fe734166b76ceebf8d9543c706ebe0fddc96.tar.gz samba-8b25fe734166b76ceebf8d9543c706ebe0fddc96.tar.xz samba-8b25fe734166b76ceebf8d9543c706ebe0fddc96.zip |
get rid of the runtime test for broken getgroups() and add a compile
time test instead. This also allows us to get rid of the igroups
element of a couple of structures.
Diffstat (limited to 'source/include/includes.h')
-rw-r--r-- | source/include/includes.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/include/includes.h b/source/include/includes.h index b63787fd5e3..2a420f76ed1 100644 --- a/source/include/includes.h +++ b/source/include/includes.h @@ -287,6 +287,12 @@ extern char *sys_errlist[]; extern int errno; #endif +#ifdef HAVE_BROKEN_GETGROUPS +#define GID_T int +#else +#define GID_T gid_t +#endif + /* Lists, trees, caching, datbase... */ #include "ubi_sLinkList.h" |