summaryrefslogtreecommitdiff
path: root/openbsd-compat/getgrouplist.h
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd-compat/getgrouplist.h')
-rw-r--r--openbsd-compat/getgrouplist.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/openbsd-compat/getgrouplist.h b/openbsd-compat/getgrouplist.h
new file mode 100644
index 000000000..ef9e60116
--- /dev/null
+++ b/openbsd-compat/getgrouplist.h
@@ -0,0 +1,14 @@
1#ifndef _BSD_GETGROUPLIST_H
2#define _BSD_GETGROUPLIST_H
3
4#include "config.h"
5
6#ifndef HAVE_GETGROUPLIST
7
8#include <grp.h>
9
10int getgrouplist(const char *, gid_t, gid_t *, int *);
11
12#endif
13
14#endif