xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-connectivity/wvdial/wvstreams/05_gcc.diff (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1Index: wvstreams-4.6.1/ipstreams/wvunixdgsocket.cc
2===================================================================
3--- wvstreams-4.6.1.orig/ipstreams/wvunixdgsocket.cc	2011-05-20 00:02:38.391136584 +0200
4+++ wvstreams-4.6.1/ipstreams/wvunixdgsocket.cc	2011-05-20 00:02:35.283136585 +0200
5@@ -1,8 +1,6 @@
6 #include "wvunixdgsocket.h"
7-#ifdef MACOS
8 #include <sys/types.h>
9 #include <sys/stat.h>
10-#endif
11
12 WvUnixDGSocket::WvUnixDGSocket(WvStringParm filename, bool _server, int perms)
13     : socketfile(filename)
14Index: wvstreams-4.6.1/streams/wvatomicfile.cc
15===================================================================
16--- wvstreams-4.6.1.orig/streams/wvatomicfile.cc	2011-05-20 00:02:38.223136584 +0200
17+++ wvstreams-4.6.1/streams/wvatomicfile.cc	2011-05-20 00:02:31.619136587 +0200
18@@ -10,10 +10,7 @@
19 #include "wvatomicfile.h"
20 #include "wvfileutils.h"
21 #include "wvstrutils.h"
22-
23-#ifdef MACOS
24 #include <sys/stat.h>
25-#endif
26
27 WvAtomicFile::WvAtomicFile(WvStringParm filename, int flags, mode_t create_mode)
28     : tmp_file(WvString::null)
29