summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/types.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/sys/types.h b/sys/sys/types.h
index e80462b..db3c04d 100644
--- a/sys/sys/types.h
+++ b/sys/sys/types.h
@@ -73,7 +73,12 @@ typedef __volatile char *v_caddr_t; /* core address, pointer to volatile */
typedef int32_t daddr_t; /* disk address */
typedef u_int32_t u_daddr_t; /* unsigned disk address */
typedef u_int32_t fixpt_t; /* fixed point number */
+
+#ifndef _GID_T_DECLARED
+#define _GID_T_DECLARED
typedef u_int32_t gid_t; /* group id */
+#endif
+
typedef u_int32_t ino_t; /* inode number */
typedef long key_t; /* IPC key (for Sys V IPC) */
typedef u_int16_t mode_t; /* permissions */
OpenPOWER on IntegriCloud