Revision 5c40d2bd
b/configure | ||
---|---|---|
112 | 112 |
MINGW32*) |
113 | 113 |
mingw32="yes" |
114 | 114 |
;; |
115 |
GNU/kFreeBSD) |
|
116 |
oss="yes" |
|
117 |
if [ "$cpu" = "i386" -o "$cpu" = "x86_64" ] ; then |
|
118 |
kqemu="yes" |
|
119 |
fi |
|
120 |
;; |
|
115 | 121 |
FreeBSD) |
116 | 122 |
bsd="yes" |
117 | 123 |
oss="yes" |
b/vl.c | ||
---|---|---|
47 | 47 |
#ifndef __APPLE__ |
48 | 48 |
#include <libutil.h> |
49 | 49 |
#endif |
50 |
#elif defined (__GLIBC__) && defined (__FreeBSD_kernel__) |
|
51 |
#include <freebsd/stdlib.h> |
|
50 | 52 |
#else |
51 | 53 |
#ifndef __sun__ |
52 | 54 |
#include <linux/if.h> |
... | ... | |
3451 | 3453 |
return s; |
3452 | 3454 |
} |
3453 | 3455 |
|
3454 |
#ifdef _BSD
|
|
3456 |
#if defined (_BSD) || defined (__FreeBSD_kernel__)
|
|
3455 | 3457 |
static int tap_open(char *ifname, int ifname_size) |
3456 | 3458 |
{ |
3457 | 3459 |
int fd; |
Also available in: Unified diff