termux-packages/x11-packages/qemu-system-x86_64/qemu-2.12.1_qga_main.c.patch

13 lines
394 B
Diff

diff -uNr qemu-2.12.1/qga/main.c qemu-2.12.1.mod/qga/main.c
--- qemu-2.12.1/qga/main.c 2018-08-03 00:48:53.000000000 +0300
+++ qemu-2.12.1.mod/qga/main.c 2018-09-17 16:27:47.017395933 +0300
@@ -45,6 +45,8 @@
#endif
#endif
+#include "lockf_implementation.h"
+
#ifndef _WIN32
#define QGA_VIRTIO_PATH_DEFAULT "/dev/virtio-ports/org.qemu.guest_agent.0"
#define QGA_STATE_RELATIVE_DIR "run"