diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-08-15 18:33:42 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-08-15 18:33:42 +0000 |
commit | 128ab2ff50a85969d08d2dec0fd88accdd153bcb (patch) | |
tree | 58e3f83a26a0df04bd347789c0163e0ac6c0a5e9 /vl.c | |
parent | 72c7b06cb7e0cfded2678d531c454fcac16c93c3 (diff) |
Preliminary OpenBSD host support (based on OpenBSD patches by Todd T. Fries)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5012 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.c')
-rw-r--r-- | vl.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -61,9 +61,12 @@ #include <arpa/inet.h> #ifdef _BSD #include <sys/stat.h> -#ifndef __APPLE__ +#if !defined(__APPLE__) && !defined(__OpenBSD__) #include <libutil.h> #endif +#ifdef __OpenBSD__ +#include <net/if.h> +#endif #elif defined (__GLIBC__) && defined (__FreeBSD_kernel__) #include <freebsd/stdlib.h> #else |