aboutsummaryrefslogtreecommitdiff
path: root/libX11/src
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/src')
-rw-r--r--libX11/src/makefile2
-rw-r--r--libX11/src/xcms/config.h2
-rw-r--r--libX11/src/xcms/makefile2
3 files changed, 5 insertions, 1 deletions
diff --git a/libX11/src/makefile b/libX11/src/makefile
index 66cb7bba4..f928a38e2 100644
--- a/libX11/src/makefile
+++ b/libX11/src/makefile
@@ -263,7 +263,7 @@ CSRCS = \
xcb_disp.c \
xcb_io.c
-INCLUDES := xcms xlibi18n xkb $(MHMAKECONF)\X11 $(OBJDIR) $(INCLUDES)
+INCLUDES := . xcms xlibi18n xkb $(MHMAKECONF)\X11 $(OBJDIR) $(INCLUDES)
KEYSYMDEF = $(MHMAKECONF)/X11/keysymdef.h
diff --git a/libX11/src/xcms/config.h b/libX11/src/xcms/config.h
new file mode 100644
index 000000000..7f15dd19f
--- /dev/null
+++ b/libX11/src/xcms/config.h
@@ -0,0 +1,2 @@
+#include <string.h>
+#define strdup _strdup \ No newline at end of file
diff --git a/libX11/src/xcms/makefile b/libX11/src/xcms/makefile
index 181f1e84c..00fab124a 100644
--- a/libX11/src/xcms/makefile
+++ b/libX11/src/xcms/makefile
@@ -1,5 +1,7 @@
LIBRARY = libxcms
+DEFINES += HAVE_CONFIG_H
+
CSRCS = \
AddDIC.c \
AddSF.c \