Skip to contentSkip to conversation

Patch: osdep.h for OpenBSD

Qemu-devel Todd T. Fries 2 participants 2 messages Mar 21, 2007 – Apr 2, 2007

lore
Share & tools
lore
#0 lore raw

This is relative to the 20070319 snapshot.

osdep.h renamed from osdep.h.orig +4 -0
@@ -2,6 +2,10 @@
 #define QEMU_OSDEP_H
 
 #include <stdarg.h>
+#ifdef __OpenBSD__
+#include <sys/types.h>
+#include <sys/signal.h>
+#endif
 
 #define qemu_printf printf
 
Signature · 12 lines
Todd Fries .. [email protected]

 _____________________________________________
|                                             \  1.636.410.0632 (voice)
| Free Daemon Consulting, LLC                 \  1.405.227.9094 (voice)
| http://FreeDaemonConsulting.com             \  1.866.792.3418 (FAX)
| "..in support of free software solutions."  \          250797 (FWD)
|                                             \
 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
                                                 
              37E7 D3EB 74D0 8D66 A68D  B866 0326 204E 3F42 004A
                        http://todd.fries.net/pgp.txt
#1 lore raw

osdep.h line 8

Quoted 12 lines · Todd T. Fries

This is relative to the 20070319 snapshot.

osdep.h renamed from osdep.h.orig +4 -0
@@ -2,6 +2,10 @@
 #define QEMU_OSDEP_H
 
 #include <stdarg.h>
+#ifdef __OpenBSD__
+#include <sys/types.h>
+#include <sys/signal.h>
+#endif

Nothing in the header should need sys/*.h. Please add this to osdep.c if needed.

Thiemo