summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorThomas Habets <thomas@habets.se>2019-01-06 18:09:10 +0000
committerThomas Habets <thomas@habets.se>2019-01-06 18:09:10 +0000
commitd8f9ac7693805cba67e15afbabe731d780f2469c (patch)
tree4deff88d41ba40d696698882991dca5973034674 /configure.ac
parent871eb69de523ce5aa302d03fccdf62afc1945b6e (diff)
downloadarping-d8f9ac7693805cba67e15afbabe731d780f2469c.tar.gz
_BSD_SOURCE->_DEFAULT_SOURCE as the former is deprecated
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index a6e8eb3..5a363e7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -19,7 +19,7 @@ AC_PROG_MAKE_SET
# is used by libnet headers.
# This "just works" until running GCC with -std=c99, where uint is
# no longer defined by default.
-CPPFLAGS+=" -D_BSD_SOURCE=1"
+CPPFLAGS+=" -D_DEFAULT_SOURCE=1"
# Checks for libraries.
AC_CHECK_LIB([m], [sqrt])