File wvstreams-headers.patch of Package wvstreams

Index: wvstreams-4.4.1/ipstreams/wvunixdgsocket.cc
===================================================================
--- wvstreams-4.4.1.orig/ipstreams/wvunixdgsocket.cc
+++ wvstreams-4.4.1/ipstreams/wvunixdgsocket.cc
@@ -1,4 +1,5 @@
 #include "wvunixdgsocket.h"
+#include <sys/stat.h>
 
 WvUnixDGSocket::WvUnixDGSocket(WvStringParm filename, bool _server, int perms)
     : socketfile(filename)
Index: wvstreams-4.4.1/streams/wvatomicfile.cc
===================================================================
--- wvstreams-4.4.1.orig/streams/wvatomicfile.cc
+++ wvstreams-4.4.1/streams/wvatomicfile.cc
@@ -10,6 +10,8 @@
 #include "wvatomicfile.h"
 #include "wvfileutils.h"
 #include "wvstrutils.h"
+#include <sys/types.h>
+#include <sys/stat.h>
 
 WvAtomicFile::WvAtomicFile(WvStringParm filename, int flags, mode_t create_mode)
     : tmp_file(WvString::null)
openSUSE Build Service is sponsored by