summaryrefslogtreecommitdiff
path: root/x11-wm/windowmaker/files/patch-WINGs__WINGs__WINGsP.h
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/windowmaker/files/patch-WINGs__WINGs__WINGsP.h')
-rw-r--r--x11-wm/windowmaker/files/patch-WINGs__WINGs__WINGsP.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/x11-wm/windowmaker/files/patch-WINGs__WINGs__WINGsP.h b/x11-wm/windowmaker/files/patch-WINGs__WINGs__WINGsP.h
new file mode 100644
index 000000000000..e99845161cc6
--- /dev/null
+++ b/x11-wm/windowmaker/files/patch-WINGs__WINGs__WINGsP.h
@@ -0,0 +1,16 @@
+--- WINGs/WINGs/WINGsP.h.orig 2013-03-06 03:52:04.000000000 +0900
++++ WINGs/WINGs/WINGsP.h 2013-03-06 03:51:32.000000000 +0900
+@@ -14,7 +14,13 @@
+
+ #include <assert.h>
+
++#ifdef _XLOCALE_H_ /* workaround for libX11<1.4 */
++#undef _XLOCALE_H_
++#include <stdlib.h>
++#define _XLOCALE_H_
++#else
+ #include <stdlib.h>
++#endif
+ #include <string.h>
+ #include <strings.h>
+ #include <stdio.h>