aboutsummaryrefslogtreecommitdiff
path: root/libxkbfile
diff options
context:
space:
mode:
Diffstat (limited to 'libxkbfile')
-rw-r--r--libxkbfile/src/config.h7
-rw-r--r--libxkbfile/src/makefile18
-rw-r--r--libxkbfile/src/xkmout.c2
3 files changed, 26 insertions, 1 deletions
diff --git a/libxkbfile/src/config.h b/libxkbfile/src/config.h
new file mode 100644
index 000000000..00995531e
--- /dev/null
+++ b/libxkbfile/src/config.h
@@ -0,0 +1,7 @@
+#ifndef __CONFIG_H__
+#define __CONFIG_H__
+
+#define snprintf _snprintf
+#define strcasecmp stricmp
+
+#endif
diff --git a/libxkbfile/src/makefile b/libxkbfile/src/makefile
new file mode 100644
index 000000000..5bf9b2fa2
--- /dev/null
+++ b/libxkbfile/src/makefile
@@ -0,0 +1,18 @@
+LIBRARY = libxkbfile
+
+CSRCS = cout.c \
+ maprules.c \
+ srvmisc.c \
+ xkbatom.c \
+ xkbbells.c \
+ xkbconfig.c \
+ xkbdraw.c \
+ xkberrs.c \
+ xkbmisc.c \
+ xkbout.c \
+ xkbtext.c \
+ xkmout.c \
+ xkmread.c
+
+INCLUDES := . $(MHMAKECONF)\X11\extensions $(MHMAKECONF)
+
diff --git a/libxkbfile/src/xkmout.c b/libxkbfile/src/xkmout.c
index 403e48810..08efea68d 100644
--- a/libxkbfile/src/xkmout.c
+++ b/libxkbfile/src/xkmout.c
@@ -1318,7 +1318,7 @@ int (*getTOC)(
XkbFileInfo * /* result */,
XkmInfo * /* info */,
int /* max_to */,
- xkmSectionInfo */* toc_rtrn */
+ xkmSectionInfo * /* toc_rtrn */
);
switch (result->type) {