From 925dd28f7e08e00479a2906d0343e6fa75a6a783 Mon Sep 17 00:00:00 2001 From: Peter Haag Date: Tue, 20 Aug 2024 07:35:35 +0200 Subject: [PATCH] Cleanup nfpcapd Makefile and make Alpine Linux happy with GNU flag --- src/libnffile/daemon.c | 1 + src/nfpcapd/Makefile.am | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/libnffile/daemon.c b/src/libnffile/daemon.c index f605f922..80373b04 100644 --- a/src/libnffile/daemon.c +++ b/src/libnffile/daemon.c @@ -41,6 +41,7 @@ #include // some linux are picky #define __USE_GNU +#define _GNU_SOURCE #include #include "util.h" diff --git a/src/nfpcapd/Makefile.am b/src/nfpcapd/Makefile.am index 1b8e1768..0b75d1a6 100755 --- a/src/nfpcapd/Makefile.am +++ b/src/nfpcapd/Makefile.am @@ -28,6 +28,4 @@ if HAVEPCAPAPPEND AM_CPPFLAGS += -DHAVEPCAPAPPEND endif -EXTRA_DIST = murmurhash.c - CLEANFILES = *.gch