pull types.h for xpg
authorderaadt <deraadt@openbsd.org>
Tue, 3 Dec 1996 01:30:56 +0000 (01:30 +0000)
committerderaadt <deraadt@openbsd.org>
Tue, 3 Dec 1996 01:30:56 +0000 (01:30 +0000)
include/grp.h

index 2fe6ca9..ef80fa0 100644 (file)
@@ -43,6 +43,9 @@
 #ifndef _GRP_H_
 #define        _GRP_H_
 
+#include <sys/cdefs.h>
+#include <sys/types.h>
+
 #if !defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE)
 #define        _PATH_GROUP             "/etc/group"
 #endif
@@ -54,8 +57,6 @@ struct group {
        char    **gr_mem;               /* group members */
 };
 
-#include <sys/cdefs.h>
-
 __BEGIN_DECLS
 struct group   *getgrgid __P((gid_t));
 struct group   *getgrnam __P((const char *));