summaryrefslogtreecommitdiffstats
path: root/6pack
diff options
context:
space:
mode:
Diffstat (limited to '6pack')
-rw-r--r--6pack/Makefile.am3
-rw-r--r--6pack/m6pack.c1
2 files changed, 2 insertions, 2 deletions
diff --git a/6pack/Makefile.am b/6pack/Makefile.am
index 505ce3a..d185854 100644
--- a/6pack/Makefile.am
+++ b/6pack/Makefile.am
@@ -7,7 +7,8 @@ LDADD= $(AX25_LIB)
dist_man_MANS = m6pack.8
-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/6pack/m6pack.c b/6pack/m6pack.c
index 6703639..edc6014 100644
--- a/6pack/m6pack.c
+++ b/6pack/m6pack.c
@@ -34,7 +34,6 @@
*/
#include <stdio.h>
-#define __USE_XOPEN
#include <string.h>
#include <errno.h>
#include <stdlib.h>