aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/server_socket.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/server_socket.c b/src/server_socket.c
index bb7a6f097..5eab4dc5a 100644
--- a/src/server_socket.c
+++ b/src/server_socket.c
@@ -18,6 +18,11 @@
*/
#include "config.h"
+
+#ifdef HAVE_STRUCT_UCRED
+#define _GNU_SOURCE 1
+#endif
+
#include "server_socket.h"
#include "socket_util.h"
#include "fd_util.h"