mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-26 22:06:35 +01:00
051ada2455
This update includes a patch to build against glibc-2.12.x. I actually did this update, but I shot it over to vbatts for a lookie before going any further with it... That said, blame me if there are problems... :-) Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
23 lines
489 B
Diff
23 lines
489 B
Diff
http://bugs.gentoo.org/333301
|
|
|
|
--- ipstreams/wvunixdgsocket.cc
|
|
+++ ipstreams/wvunixdgsocket.cc
|
|
@@ -1,5 +1,5 @@
|
|
#include "wvunixdgsocket.h"
|
|
-#ifdef MACOS
|
|
+#if defined(MACOS) || defined(__GNUC__)
|
|
#include <sys/types.h>
|
|
#include <sys/stat.h>
|
|
#endif
|
|
--- streams/wvatomicfile.cc
|
|
+++ streams/wvatomicfile.cc
|
|
@@ -11,7 +11,8 @@
|
|
#include "wvfileutils.h"
|
|
#include "wvstrutils.h"
|
|
|
|
-#ifdef MACOS
|
|
+#if defined(MACOS) || defined(__GNUC__)
|
|
+#include <sys/types.h>
|
|
#include <sys/stat.h>
|
|
#endif
|
|
|