clipboard-client.c: Include necessary headers for Windows

We need to include io.h and process.h for close() and exit(), as unistd.h may
not be universally available.
This commit is contained in:
Chun-wei Fan
2021-05-03 16:33:14 +08:00
parent 40ebed3a03
commit e56754d27c

View File

@@ -4,6 +4,10 @@
#include "wayland/gdkwayland.h"
#endif
#ifdef G_OS_WIN32
#include <io.h>
#include <process.h>
#endif
G_GNUC_NORETURN static void
got_string_cb (GObject *source,