summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Bauer2021-10-29 23:13:34 +0000
committerDavid Bauer2021-10-29 23:14:11 +0000
commitd7833e14efa81d326ae707f724b4965be63e60c3 (patch)
treefb0e906360fa1e5fa0858a693ce9443d51b31711
parentbee2caf184ccaa324e288ac282bc135405315e2d (diff)
downloadusteer-d7833e14efa81d326ae707f724b4965be63e60c3.tar.gz
remote: fix compilation with glibc
Fixes builds for the arc target. Signed-off-by: David Bauer <mail@david-bauer.net>
-rw-r--r--remote.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/remote.c b/remote.c
index ac72515..a464b3b 100644
--- a/remote.c
+++ b/remote.c
@@ -17,6 +17,8 @@
* Copyright (C) 2020 John Crispin <john@phrozen.org>
*/
+#define _GNU_SOURCE
+
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>