summaryrefslogtreecommitdiffstats
path: root/openbsd-compat/bsd-getpeereid.h
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd-compat/bsd-getpeereid.h')
-rw-r--r--openbsd-compat/bsd-getpeereid.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/openbsd-compat/bsd-getpeereid.h b/openbsd-compat/bsd-getpeereid.h
new file mode 100644
index 00000000..2e9f077f
--- /dev/null
+++ b/openbsd-compat/bsd-getpeereid.h
@@ -0,0 +1,14 @@
+/* $Id: bsd-getpeereid.h,v 1.1 2002/09/12 00:33:02 djm Exp $ */
+
+#ifndef _BSD_GETPEEREID_H
+#define _BSD_GETPEEREID_H
+
+#include "config.h"
+
+#include <sys/types.h> /* For uid_t, gid_t */
+
+#ifndef HAVE_GETPEEREID
+int getpeereid(int , uid_t *, gid_t *);
+#endif /* HAVE_GETPEEREID */
+
+#endif /* _BSD_GETPEEREID_H */