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"