Fix wget on x86-64.

Define HAVE_ARPA_INET_H for the wget build. Otherwise, e.g. inet_ntoa
would get an implicit declaration with a return type of int, leading to
the returned character pointer getting truncated on x86-64, and
consequently random crashes.
This commit is contained in:
Rene Gollent
2013-07-28 14:14:22 -04:00
parent e7c4ad324e
commit 0a1334de28
+1 -1
View File
@@ -2,7 +2,7 @@ SubDir HAIKU_TOP src bin network wget ;
UseHeaders [ FDirName $(SUBDIR) src ] : true ;
local defines = [ FDefines HAVE_CONFIG_H=1 ] ;
local defines = [ FDefines HAVE_CONFIG_H=1 HAVE_ARPA_INET_H=1 ] ;
SubDirCcFlags $(defines) ;
SubDirC++Flags $(defines) ;