Commit ff453461 authored by Ben Kibbey's avatar Ben Kibbey Committed by Max Kellermann

Build fix for Linux. Define _GNU_SOURCE in src/server_socket.c.

parent b8fe2c74
...@@ -18,6 +18,11 @@ ...@@ -18,6 +18,11 @@
*/ */
#include "config.h" #include "config.h"
#ifdef HAVE_STRUCT_UCRED
#define _GNU_SOURCE 1
#endif
#include "server_socket.h" #include "server_socket.h"
#include "socket_util.h" #include "socket_util.h"
#include "fd_util.h" #include "fd_util.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment