artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c7b873
)
pull types.h for xpg
author
deraadt
<deraadt@openbsd.org>
Tue, 3 Dec 1996 01:30:56 +0000
(
01:30
+0000)
committer
deraadt
<deraadt@openbsd.org>
Tue, 3 Dec 1996 01:30:56 +0000
(
01:30
+0000)
include/grp.h
patch
|
blob
|
history
diff --git
a/include/grp.h
b/include/grp.h
index
2fe6ca9
..
ef80fa0
100644
(file)
--- a/
include/grp.h
+++ b/
include/grp.h
@@
-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 *));