From 032fc7a937a99728fd73f642950e45fb59ea55e5 Mon Sep 17 00:00:00 2001 From: Sergey Matveychuk Date: Fri, 11 Mar 2005 13:51:32 +0000 Subject: VDE is a user-mode ethernet simulation. It's quite useful for hooking together multiple qemu instances into a single virtual network without needing root access. It can also be used for tunneling or other network simulation tasks. PR: ports/76874 Submitted by: Craig Boston --- net/vde2/files/patch-slirpvde::slirp_config.h | 33 +++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 net/vde2/files/patch-slirpvde::slirp_config.h (limited to 'net/vde2/files/patch-slirpvde::slirp_config.h') diff --git a/net/vde2/files/patch-slirpvde::slirp_config.h b/net/vde2/files/patch-slirpvde::slirp_config.h new file mode 100644 index 000000000000..dfd1288b6c2e --- /dev/null +++ b/net/vde2/files/patch-slirpvde::slirp_config.h @@ -0,0 +1,33 @@ +--- slirpvde/slirp_config.h Sat Jan 29 15:02:08 2005 ++++ slirpvde/slirp_config.h Sat Jan 29 15:15:18 2005 +@@ -61,10 +61,18 @@ + #define HAVE_STDLIB_H + + /* Define if you have sys/ioctl.h */ ++#ifdef __FreeBSD__ ++#define HAVE_SYS_IOCTL_H ++#else + #undef HAVE_SYS_IOCTL_H ++#endif + + /* Define if you have sys/filio.h */ ++#ifdef __FreeBSD__ ++#define HAVE_SYS_FILIO_H ++#else + #undef HAVE_SYS_FILIO_H ++#endif + + /* Define if you have strerror */ + #define HAVE_STRERROR +@@ -162,7 +170,11 @@ + #define HAVE_MEMMOVE + + /* Define if you have */ ++#ifdef __FreeBSD__ ++#define HAVE_TERMIOS_H ++#else + #undef HAVE_TERMIOS_H ++#endif + + /* Define if you have gethostid */ + #undef HAVE_GETHOSTID -- cgit v1.2.3