summaryrefslogtreecommitdiffstats
path: root/include/grp.h
diff options
context:
space:
mode:
authormike <mike@FreeBSD.org>2002-04-01 08:12:25 +0000
committermike <mike@FreeBSD.org>2002-04-01 08:12:25 +0000
commitbeecc37c73ebf8cf27e26fe5fc3a80fd02535ac4 (patch)
treeeff013810ee5bdc57f51e401f7ec54272cb4fafe /include/grp.h
parentf4cfa354ba07ca7cd849efb0cff903ac831f247a (diff)
downloadFreeBSD-src-beecc37c73ebf8cf27e26fe5fc3a80fd02535ac4.zip
FreeBSD-src-beecc37c73ebf8cf27e26fe5fc3a80fd02535ac4.tar.gz
o Implement <sys/_types.h>, a new header for storing types that are
MI, not required to be a fixed size, and used in multiple headers. This will grow in time, as more things move here from <sys/types.h> and <machine/ansi.h>. o Add missing type definitions (uint16_t and uint32_t) to <arpa/inet.h> and <netinet/in.h>. o Reduce pollution in <sys/types.h> by using `#if _FOO_T_DECLARED' widgets to avoid including <sys/stdint.h>. o Add some missing type definitions to <unistd.h> and note the ones that still need to be added. o Make use of <sys/_types.h> primitives in <grp.h> and <sys/types.h>. Reviewed by: bde
Diffstat (limited to 'include/grp.h')
-rw-r--r--include/grp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/grp.h b/include/grp.h
index 3919c05..cbb6215 100644
--- a/include/grp.h
+++ b/include/grp.h
@@ -49,9 +49,9 @@
#define _PATH_GROUP "/etc/group"
#endif
-#ifndef _GID_T_DECLARED
-#define _GID_T_DECLARED
-typedef __uint32_t gid_t;
+#ifdef _BSD_GID_T_
+typedef _BSD_GID_T_ gid_t;
+#undef _BSD_GID_T_
#endif
struct group {
OpenPOWER on IntegriCloud