summaryrefslogtreecommitdiffstats
path: root/main/qemu/qemu-170-openpty.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-12-23 10:03:25 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-12-23 15:29:34 +0000
commite68aa4b6118b001c4752c54e65dbe9829b2e362c (patch)
tree6e89c8ee33d35e1eebd5e535c43034928c0b2c18 /main/qemu/qemu-170-openpty.patch
parentddee2f86a48e087867d4a2c12849b2e3baccc238 (diff)
downloadaports-e68aa4b6118b001c4752c54e65dbe9829b2e362c.tar.bz2
aports-e68aa4b6118b001c4752c54e65dbe9829b2e362c.tar.xz
main/qemu: musl build fix
Diffstat (limited to 'main/qemu/qemu-170-openpty.patch')
-rw-r--r--main/qemu/qemu-170-openpty.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/qemu/qemu-170-openpty.patch b/main/qemu/qemu-170-openpty.patch
new file mode 100644
index 000000000..3a0d051bd
--- /dev/null
+++ b/main/qemu/qemu-170-openpty.patch
@@ -0,0 +1,11 @@
+--- qemu-1.7.0.org/util/qemu-openpty.c
++++ qemu-1.7.0/util/qemu-openpty.c
+@@ -47,6 +47,8 @@
+ #elif defined CONFIG_SOLARIS
+ # include <termios.h>
+ # include <stropts.h>
++#else
++# include <termios.h>
+ #endif
+
+ #ifdef __sun__