summaryrefslogtreecommitdiffstats
path: root/hdlcutil
diff options
context:
space:
mode:
Diffstat (limited to 'hdlcutil')
-rw-r--r--hdlcutil/Makefile.am3
-rw-r--r--hdlcutil/fl/Makefile.am2
2 files changed, 3 insertions, 2 deletions
diff --git a/hdlcutil/Makefile.am b/hdlcutil/Makefile.am
index adffda4..96bdd85 100644
--- a/hdlcutil/Makefile.am
+++ b/hdlcutil/Makefile.am
@@ -13,7 +13,8 @@ smdiag_SOURCES = smdiag.c hdrvcomm.c hdrvcomm.h usersmdiag.h soundmodem.h
smdiag_LDADD = $(X_LIBS) -lX11 $(X_EXTRA_LIBS)
-AM_CPPFLAGS = -DAX25_SYSCONFDIR=\""$(AX25_SYSCONFDIR)"\" \
+AM_CPPFLAGS = -D_GNU_SOURCE \
+ -DAX25_SYSCONFDIR=\""$(AX25_SYSCONFDIR)"\" \
-DAX25_LOCALSTATEDIR=\""$(AX25_LOCALSTATEDIR)"\"
AX25_SYSCONFDIR=$(sysconfdir)/ax25/
diff --git a/hdlcutil/fl/Makefile.am b/hdlcutil/fl/Makefile.am
index f0c7979..1b2abfc 100644
--- a/hdlcutil/fl/Makefile.am
+++ b/hdlcutil/fl/Makefile.am
@@ -3,7 +3,7 @@ if HAVE_FLTK
sbin_PROGRAMS = xfsmmixer xfhdlcchpar xfhdlcst xfsmdiag
endif
-AM_CPPFLAGS = $(X_CFLAGS) -I$(srcdir)/..
+AM_CPPFLAGS = -D_GNU_SOURCE $(X_CFLAGS) -I$(srcdir)/..
LDADD = ../hdrvcomm.o $(X_LIBS) -lX11 $(FLTK_LIB) $(LDDADD)
xfsmmixer_SOURCES = xfsmmixer.cxx xfsmmixer_main.cxx xfsmmixer.h