From 0b22f41211ce18231ee232b52bf9b8a7d52b6d65 Mon Sep 17 00:00:00 2001 From: Heikki Lindholm Date: Sun, 18 Oct 2009 19:54:18 +0000 Subject: [PATCH] for better POSIX compliance --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index b05ba374b..91105c3c3 100644 --- a/configure.ac +++ b/configure.ac @@ -70,6 +70,7 @@ DEFAULT_INTERFACE="\"eth0\"" case "$host_os" in *darwin* | *rhapsody* | *macosx*) AC_DEFINE_UNQUOTED(DARWIN,1,[This is an Apple Darwin system]) + CPPFLAGS="-D_APPLE_C_SOURCE $CPPFLAGS" CFLAGS="-no-cpp-precomp -fno-common $CFLAGS" AC_MSG_WARN([The VPN application cannot be compiled on your OS]) build_target="darwin" -- 2.25.1