2022-09-01 01:20:31 +02:00
|
|
|
diff --git a/tools/how-to-type.c b/tools/how-to-type.c
|
2024-07-22 22:30:10 -07:00
|
|
|
index 72aea1b..783373a 100644
|
2022-09-01 01:20:31 +02:00
|
|
|
--- a/tools/how-to-type.c
|
|
|
|
+++ b/tools/how-to-type.c
|
2024-07-22 22:30:10 -07:00
|
|
|
@@ -26,7 +26,9 @@
|
2022-09-01 01:20:31 +02:00
|
|
|
#include <getopt.h>
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
+#ifdef HAVE_UNISTD_H
|
|
|
|
#include <unistd.h>
|
|
|
|
+#endif
|
|
|
|
#include <errno.h>
|
|
|
|
|
|
|
|
#include "xkbcommon/xkbcommon.h"
|
|
|
|
diff --git a/tools/tools-common.c b/tools/tools-common.c
|
2024-07-22 22:30:10 -07:00
|
|
|
index 8eb3f4b..8b22307 100644
|
2022-09-01 01:20:31 +02:00
|
|
|
--- a/tools/tools-common.c
|
|
|
|
+++ b/tools/tools-common.c
|
|
|
|
@@ -42,6 +42,7 @@
|
2024-07-22 22:30:10 -07:00
|
|
|
#ifdef _WIN32
|
2022-09-01 01:20:31 +02:00
|
|
|
#include <io.h>
|
|
|
|
#include <windows.h>
|
|
|
|
+#include <process.h>
|
|
|
|
#else
|
|
|
|
#include <unistd.h>
|
|
|
|
#include <termios.h>
|