fix linux
This commit is contained in:
parent
c52712471f
commit
02c37a943d
|
@ -8,6 +8,11 @@
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
// Needed for sigaction on Linux
|
||||||
|
#ifdef __linux__
|
||||||
|
#define _POSIX_C_SOURCE 1
|
||||||
|
#endif // __linux__
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
|
|
||||||
#include "lfnetwork.h"
|
#include "lfnetwork.h"
|
||||||
|
|
Loading…
Reference in New Issue