aboutsummaryrefslogtreecommitdiffstats
path: root/include/grp.h
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-02-25 17:20:40 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-02-25 17:20:40 +0000
commitb73aa6457cf1151f2a7dedef593a46b414e64643 (patch)
tree0b82905913abdcf53100775160928bc1c5750f6d /include/grp.h
parent60769b19cd1f9127369397f5556106d1125f006d (diff)
downloadsrc-b73aa6457cf1151f2a7dedef593a46b414e64643.tar.gz
src-b73aa6457cf1151f2a7dedef593a46b414e64643.zip
Per POSIX <grp.h> doesn't require <sys/types.h>.
Submitted by: ache
Notes
Notes: svn path=/head/; revision=91245
Diffstat (limited to 'include/grp.h')
-rw-r--r--include/grp.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/grp.h b/include/grp.h
index 5b101cff8a2b..abd88ef18153 100644
--- a/include/grp.h
+++ b/include/grp.h
@@ -42,6 +42,9 @@
#ifndef _GRP_H_
#define _GRP_H_
+#include <sys/types.h>
+#include <sys/cdefs.h>
+
#ifndef _POSIX_SOURCE
#define _PATH_GROUP "/etc/group"
#endif
@@ -53,8 +56,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 *));