freebsd-ports/net/libproxy/files/patch-libproxy_url.cpp
Koop Mast 4214583699 Fix build with gcc 4.7+ / libc++
PR:		ports/169682
Submitted by:	Jan Beich <jbeich@tormail.org>
2012-07-13 11:38:19 +00:00

10 lines
305 B
C++

--- libproxy/url.cpp~
+++ libproxy/url.cpp
@@ -27,6 +27,7 @@
#define close _close
#endif
#include <fcntl.h> // For ::open()
+#include <unistd.h> // For close()
#include <cstring> // For memcpy()
#include <sstream> // For int/string conversion (using stringstream)
#include <cstdio> // For sscanf()