dhcp.c: add _GNU_SOURCE define to fix build error with musl
[project/relayd.git] / dhcp.c
diff --git a/dhcp.c b/dhcp.c
index 9dbea28..5f7744a 100644 (file)
--- a/dhcp.c
+++ b/dhcp.c
@@ -15,6 +15,7 @@
  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
  */
 
+#define _GNU_SOURCE
 #include <sys/socket.h>
 #include <stdio.h>
 #include <string.h>