blob: 5c81dbfe948559933062d684430fcec32815e25d (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- a/configure.in
+++ b/configure.in
@@ -143,7 +143,7 @@
AC_DEFINE(_BSD_SOURCE)
AC_DEFINE(__BSD_SOURCE)
AC_DEFINE(__FAVOR_BSD)
- LIBNET_CONFIG_DEFINES="-D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD"
+ LIBNET_CONFIG_DEFINES="-D_DEFAULT_SOURCE -D__FAVOR_BSD"
AC_CHECK_HEADERS(net/ethernet.h, \
LIBNET_CONFIG_DEFINES="$LIBNET_CONFIG_DEFINES -DHAVE_NET_ETHERNET_H")
MAN_PREFIX="$prefix/man/man3/"
|