summaryrefslogtreecommitdiffstats
path: root/package/libs/libpcap/patches/103-makefile_flex_workaround.patch
blob: 93e07c69c2d95f3e6b46961f1b768dc5a71c0319 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

	Copyright (C) 2006 Markus Wigge

--- a/Makefile.in
+++ b/Makefile.in
@@ -59,7 +59,7 @@ MKDEP = @MKDEP@
 CCOPT = @V_CCOPT@
 SHLIB_CCOPT = @V_SHLIB_CCOPT@
 INCLS = -I. @V_INCLS@
-DEFS = -DBUILDING_PCAP -Dpcap_EXPORTS @DEFS@ @V_DEFS@
+DEFS = -DBUILDING_PCAP -D_BSD_SOURCE -Dpcap_EXPORTS @DEFS@ @V_DEFS@
 ADDLOBJS = @ADDLOBJS@
 ADDLARCHIVEOBJS = @ADDLARCHIVEOBJS@
 LIBS = @LIBS@