summaryrefslogtreecommitdiff
path: root/tools/print-compiled-keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/print-compiled-keymap.c')
-rw-r--r--tools/print-compiled-keymap.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/print-compiled-keymap.c b/tools/print-compiled-keymap.c
index 04d98ba..1ba648b 100644
--- a/tools/print-compiled-keymap.c
+++ b/tools/print-compiled-keymap.c
@@ -23,11 +23,12 @@
#include "config.h"
+#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <unistd.h>
-#include "utils.h"
#include "xkbcommon/xkbcommon.h"
int
@@ -63,7 +64,7 @@ main(int argc, char *argv[])
goto out;
}
- if (streq(keymap_path, "-")) {
+ if (strcmp(keymap_path, "-") == 0) {
FILE *tmp;
tmp = tmpfile();