From ff4534613a302208d7e971398a26ff986f432028 Mon Sep 17 00:00:00 2001 From: Ben Kibbey Date: Sun, 26 Dec 2010 17:38:31 -0500 Subject: [PATCH] Build fix for Linux. Define _GNU_SOURCE in src/server_socket.c. --- src/server_socket.c | 5 +++++ 1 file changed, 5 insertions(+) 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"