summaryrefslogtreecommitdiffstats
path: root/libraries/wvstreams/patches/08_glibc-2.12.diff
blob: f9e1d6beafa2cd8d36e47dfd1dc7c1f0db570526 (plain)
Description: fix FTBFS with glibc 2.12
Author: Luca Falavigna <dktrkranz@debian.org>
Bug: https://code.google.com/p/wvstreams/issues/detail?id=28
Forwarded: no
Last-Update: 2013-10-30

--- a/ipstreams/wvunixdgsocket.cc
+++ b/ipstreams/wvunixdgsocket.cc
@@ -1,8 +1,6 @@
 #include "wvunixdgsocket.h"
-#ifdef MACOS
 #include <sys/types.h>
 #include <sys/stat.h>
-#endif
 
 WvUnixDGSocket::WvUnixDGSocket(WvStringParm filename, bool _server, int perms)
     : socketfile(filename)
--- a/streams/wvatomicfile.cc
+++ b/streams/wvatomicfile.cc
@@ -10,10 +10,7 @@
 #include "wvatomicfile.h"
 #include "wvfileutils.h"
 #include "wvstrutils.h"
-
-#ifdef MACOS
 #include <sys/stat.h>
-#endif
 
 WvAtomicFile::WvAtomicFile(WvStringParm filename, int flags, mode_t create_mode)
     : tmp_file(WvString::null)