summaryrefslogtreecommitdiff
path: root/emulators/qemu-devel/files/patch-qemu-timer.h
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/qemu-devel/files/patch-qemu-timer.h')
-rw-r--r--emulators/qemu-devel/files/patch-qemu-timer.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/emulators/qemu-devel/files/patch-qemu-timer.h b/emulators/qemu-devel/files/patch-qemu-timer.h
new file mode 100644
index 000000000000..998a7aca5d50
--- /dev/null
+++ b/emulators/qemu-devel/files/patch-qemu-timer.h
@@ -0,0 +1,13 @@
+--- a/qemu-timer.h
++++ b/qemu-timer.h
+@@ -4,6 +4,10 @@
+ #include "qemu-common.h"
+ #include <time.h>
+ #include <sys/time.h>
++#ifdef __FreeBSD__ /* for __FreeBSD_version */
++#include <sys/param.h>
++#endif
++#include <sys/time.h>
+
+ #ifdef _WIN32
+ #include <windows.h>