freebsd-ports/devel/libassa/files/patch-assa:INETAddress.cpp
Baptiste Daroussin c7391ef334 Support stage
Fix build with clang
2014-03-24 23:40:57 +00:00

11 lines
403 B
C++

--- assa/INETAddress.cpp.orig Thu Jul 20 06:13:13 2006
+++ assa/INETAddress.cpp Wed Sep 6 16:13:15 2006
@@ -17,6 +17,8 @@
#else
# include <netdb.h> // gethostbyname(3)
extern int h_errno; // gethostbyname(3)
+# include <stdlib.h> // for strtol
+# include <sys/types.h> // for AF_INET
# include <sys/socket.h> // for AF_INET
# include <unistd.h>
# include <sys/utsname.h>