termux-packages/x11-packages/qemu-system-x86_64/qemu-3.0.0_qga_main.c.patch
2022-04-18 14:08:33 +05:30

13 lines
390 B
Diff

diff -uNr qemu-3.0.0/qga/main.c qemu-3.0.0.mod/qga/main.c
--- qemu-3.0.0/qga/main.c 2018-08-14 22:10:34.000000000 +0300
+++ qemu-3.0.0.mod/qga/main.c 2018-10-26 16:49:45.290265240 +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"