void-packages/srcpkgs/libproxy/patches/missing_header.patch

11 lines
384 B
Diff
Raw Normal View History

2012-05-23 10:04:50 +02:00
--- libproxy/url.cpp.orig 2012-05-23 10:02:53.073403074 +0200
+++ libproxy/url.cpp 2012-05-23 10:03:28.105566166 +0200
@@ -27,6 +27,7 @@
#define close _close
#endif
#include <fcntl.h> // For ::open()
+#include <unistd.h> // For read/close
#include <cstring> // For memcpy()
#include <sstream> // For int/string conversion (using stringstream)
#include <cstdio> // For sscanf()