remote: fix compilation with glibc
authorDavid Bauer <mail@david-bauer.net>
Fri, 29 Oct 2021 23:13:34 +0000 (01:13 +0200)
committerDavid Bauer <mail@david-bauer.net>
Fri, 29 Oct 2021 23:14:11 +0000 (01:14 +0200)
Fixes builds for the arc target.

Signed-off-by: David Bauer <mail@david-bauer.net>
remote.c

index ac725153658a5c8c654d85a84e04cf08d53a1368..a464b3bf50374700c2e71b302cb1c3c9cf5f324c 100644 (file)
--- 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>