remote: fix compilation with glibc
[project/usteer.git] / 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>