summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2022-03-08 11:04:15 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2022-03-08 11:04:15 +0000
commit9ed1226a66ee7e097ef858f7bc4b992fbcda2dc7 (patch)
treef34a79c82a4692f7e2c24a698344bc3d827d61c2
parentafd9b68d102fc4a7614885267e99299247a031d8 (diff)
Need a declaration for getpeereid also.
-rw-r--r--compat.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/compat.h b/compat.h
index 13334ad7..be726831 100644
--- a/compat.h
+++ b/compat.h
@@ -334,6 +334,11 @@ char *strndup(const char *, size_t);
void *memmem(const void *, size_t, const void *, size_t);
#endif
+#ifndef HAVE_GETPEEREID
+/* getpeereid.c */
+int getpeereid(int, uid_t *, gid_t *);
+#endif
+
#ifndef HAVE_DAEMON
/* daemon.c */
int daemon(int, int);