mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-05 11:32:02 +08:00
6eb35f5af3
* [xcb-render-util] add port * [libxkbfile] add port * [libxkbcommon] add port * v db * Apply suggestions from code review Co-authored-by: Cheney Wang <38240633+Cheney-W@users.noreply.github.com> * v db Co-authored-by: Cheney Wang <38240633+Cheney-W@users.noreply.github.com>
28 lines
624 B
Diff
28 lines
624 B
Diff
diff --git a/tools/how-to-type.c b/tools/how-to-type.c
|
|
index 0a6f79e68..c1205004d 100644
|
|
--- a/tools/how-to-type.c
|
|
+++ b/tools/how-to-type.c
|
|
@@ -25,8 +25,10 @@
|
|
|
|
#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
|
|
index 254499d8c..2465a88c2 100644
|
|
--- a/tools/tools-common.c
|
|
+++ b/tools/tools-common.c
|
|
@@ -42,6 +42,7 @@
|
|
#ifdef _MSC_VER
|
|
#include <io.h>
|
|
#include <windows.h>
|
|
+#include <process.h>
|
|
#else
|
|
#include <unistd.h>
|
|
#include <termios.h>
|