From 21017688324b61bb96b266130dbeffc7d386f2ea Mon Sep 17 00:00:00 2001
From: Glenn <glenux@glenux.net>
Date: Mon, 2 Jan 2023 12:21:12 +0100
Subject: [PATCH] fix: Add DEFAULT_SOURCE to silence problematic warning

---
 src/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Makefile b/src/Makefile
index 0a82915..22cb77d 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,5 +1,5 @@
 IGMPPROG=igmpgen
-CFLAGS=-Werror -Wall `libnet-config --defines`
+CFLAGS=-Werror -Wall `libnet-config --defines` -D_DEFAULT_SOURCE
 LDFLAGS=`libnet-config --libs`
 
 all: