summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 26dc55c..ce5123b 100644
--- a/main.c
+++ b/main.c
@@ -17,6 +17,7 @@
* limitations under the License.
*/
+#define _BSD_SOURCE
#define _GNU_SOURCE
#define _XOPEN_SOURCE 700
#include <sys/types.h>
@@ -27,7 +28,6 @@
#include <errno.h>
#include <netdb.h>
#include <signal.h>
-#include <unistd.h>
#include <libubox/usock.h>