summaryrefslogtreecommitdiff
path: root/package/libpcap/patches/103-makefile_flex_workaround.patch
blob: 5d0334272a74b6f451274c302b4927d21e82e863 (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
@@ -55,7 +55,7 @@ SHAREDLIB=$(SOLIBRARY).$(LIBVERSION)
 CC = @CC@
 CCOPT = @V_CCOPT@
 INCLS = -I. @V_INCLS@
-DEFS = @DEFS@ @V_DEFS@
+DEFS = -D_BSD_SOURCE @DEFS@ @V_DEFS@
 LIBS = @V_LIBS@
 DAGLIBS = @DAGLIBS@
 DEPLIBS = @DEPLIBS@