diff options
-rw-r--r-- | configure.ac | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index 3b60c94..d8a05de 100644 --- a/configure.ac +++ b/configure.ac @@ -252,14 +252,10 @@ case "$target_os" in *linux*) AC_DEFINE(_BSD_SOURCE, 1, [Define as necessary to "unhide" header symbols.]) - AC_DEFINE(__BSD_SOURCE, 1, - [Define as necessary to "unhide" header symbols.]) AC_DEFINE(_DEFAULT_SOURCE, 1, [Define as necessary to "unhide" header symbols.]) - AC_DEFINE(__FAVOR_BSD, 1, - [Define if we should favor the BSD APIs when possible in Linux.]) - LIBNET_CONFIG_DEFINES="-D_BSD_SOURCE -D__BSD_SOURCE -D_DEFAULT_SOURCE -D__FAVOR_BSD" + LIBNET_CONFIG_DEFINES="-D_BSD_SOURCE -D_DEFAULT_SOURCE" AC_CHECK_HEADERS(net/ethernet.h, \ LIBNET_CONFIG_DEFINES="$LIBNET_CONFIG_DEFINES -DHAVE_NET_ETHERNET_H") ;; |