aboutsummaryrefslogtreecommitdiffstats
path: root/include/grp.h
diff options
context:
space:
mode:
authorMike Barcroft <mike@FreeBSD.org>2002-04-01 08:12:25 +0000
committerMike Barcroft <mike@FreeBSD.org>2002-04-01 08:12:25 +0000
commit8822d3fb831579a7ebabfce63f469078db325e44 (patch)
treeeff013810ee5bdc57f51e401f7ec54272cb4fafe /include/grp.h
parent41156c80b50edcfe41efc9f8624673e464854bac (diff)
downloadsrc-8822d3fb831579a7ebabfce63f469078db325e44.tar.gz
src-8822d3fb831579a7ebabfce63f469078db325e44.zip
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
Notes
Notes: svn path=/head/; revision=93514
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 3919c0504811..cbb6215d8b51 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 {