aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/include/port.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/port.h b/src/include/port.h
index d7295e31327..4c7ed643177 100644
--- a/src/include/port.h
+++ b/src/include/port.h
@@ -395,7 +395,7 @@ extern void srand48(long seed);
extern int getopt(int nargc, char *const * nargv, const char *ostr);
#endif
-#ifndef HAVE_GETPEEREID
+#if !defined(HAVE_GETPEEREID) && !defined(WIN32)
extern int getpeereid(int sock, uid_t *uid, gid_t *gid);
#endif