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

This commit is contained in:
Ben Kibbey 2010-12-26 17:38:31 -05:00 committed by Max Kellermann
parent b8fe2c74bc
commit ff4534613a
1 changed files with 5 additions and 0 deletions

View File

@ -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"