blob: 1c8f38ce328dd1c3091023a09445be7ea2a80629 (
plain)
1 # http://code.google.com/p/wvstreams/issues/detail?id=28
2
3 diff -Nru wvstreams-4.6.1.orig/ipstreams/wvunixdgsocket.cc wvstreams-4.6.1/ipstreams/wvunixdgsocket.cc
4 --- wvstreams-4.6.1.orig/ipstreams/wvunixdgsocket.cc 2010-08-05 18:19:24.572113629 +0200
5 +++ wvstreams-4.6.1/ipstreams/wvunixdgsocket.cc 2010-08-05 18:19:54.071829657 +0200
6 @@ -1,8 +1,6 @@
7 #include "wvunixdgsocket.h"
8 -#ifdef MACOS
9 #include <sys/types.h>
10 #include <sys/stat.h>
11 -#endif
12
13 WvUnixDGSocket::WvUnixDGSocket(WvStringParm filename, bool _server, int perms)
14 : socketfile(filename)
15 diff -Nru wvstreams-4.6.1.orig/streams/wvatomicfile.cc wvstreams-4.6.1/streams/wvatomicfile.cc
16 --- wvstreams-4.6.1.orig/streams/wvatomicfile.cc 2010-08-05 18:19:24.582113531 +0200
17 +++ wvstreams-4.6.1/streams/wvatomicfile.cc 2010-08-05 18:20:22.271557390 +0200
18 @@ -11,9 +11,7 @@
19 #include "wvfileutils.h"
20 #include "wvstrutils.h"
21
22 -#ifdef MACOS
23 #include <sys/stat.h>
24 -#endif
25
26 WvAtomicFile::WvAtomicFile(WvStringParm filename, int flags, mode_t create_mode)
27 : tmp_file(WvString::null)
|