Browse Source

pull types.h for xpg

OPENBSD_2_1
deraadt 28 years ago
parent
commit
39072ab53e
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      src/include/grp.h

+ 3
- 2
src/include/grp.h View 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 *));


Loading…
Cancel
Save