diff options
-rw-r--r-- | Makefile.in | 2 | ||||
-rw-r--r-- | configure.ac | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in index a2a4b20c..c7441e9a 100644 --- a/Makefile.in +++ b/Makefile.in @@ -49,7 +49,7 @@ prefix = @prefix@ optbindirs = @optbindirs@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ -MACROS=-DLOCALEDIR=\"$(localedir)\" -DPREFIX=L\"$(prefix)\" -DDATADIR=L\"$(datadir)\" -DSYSCONFDIR=L\"$(sysconfdir)\" -D_POSIX_C_SOURCE=200112L +MACROS=-DLOCALEDIR=\"$(localedir)\" -DPREFIX=L\"$(prefix)\" -DDATADIR=L\"$(datadir)\" -DSYSCONFDIR=L\"$(sysconfdir)\" CFLAGS=@CFLAGS@ $(MACROS) CPPFLAGS=@CPPFLAGS@ LDFLAGS= @LIBS@ @LDFLAGS@ diff --git a/configure.ac b/configure.ac index 0fdc27d3..2e8d4cce 100644 --- a/configure.ac +++ b/configure.ac @@ -72,6 +72,8 @@ for i in /usr/pkg /sw /opt /opt/local; do done +CFLAGS="$CFLAGS -D_XOPEN_SOURCE=600 -D_POSIX_C_SOURCE=200112L" + AC_SUBST( optbindirs, $optbindirs ) # Tell autoconf to create config.h header |