aboutsummaryrefslogtreecommitdiff
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-04-06 14:19:50 +0100
commit759f94965454a043285813cf4fd8b83944587973 (patch)
treef0f291373a1381a5f1006955c1df0b8cccb3a85f
parentf1d87241987e4b46ae839395c06d9eb48e630fa7 (diff)
downloadrtmux-759f94965454a043285813cf4fd8b83944587973.tar.gz
rtmux-759f94965454a043285813cf4fd8b83944587973.tar.bz2
rtmux-759f94965454a043285813cf4fd8b83944587973.zip
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);