Build fix for Linux. Define _GNU_SOURCE in src/server_socket.c.
This commit is contained in:
parent
b8fe2c74bc
commit
ff4534613a
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue