ports/x11-wm/windowmaker/files/patch-WINGs__WINGs__WINGsP.h

16 lines
336 B
C

--- WINGs/WINGs/WINGsP.h.orig 2019-02-15 23:34:25 UTC
+++ WINGs/WINGs/WINGsP.h
@@ -17,7 +17,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>