diff options
author | Sergey Matveychuk <sem@FreeBSD.org> | 2005-03-11 13:51:32 +0000 |
---|---|---|
committer | Sergey Matveychuk <sem@FreeBSD.org> | 2005-03-11 13:51:32 +0000 |
commit | 032fc7a937a99728fd73f642950e45fb59ea55e5 (patch) | |
tree | f9cff82a48e3421e2b160246e1931048dfaf8a87 /net/vde2/files/patch-slirpvde::slirp_config.h | |
parent | Unbreak: USE_KDEBASE instead of KDELIBS since libkate* is over there (diff) |
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 <craig@yekse.gank.org>
Notes
Notes:
svn path=/head/; revision=130884
Diffstat (limited to 'net/vde2/files/patch-slirpvde::slirp_config.h')
-rw-r--r-- | net/vde2/files/patch-slirpvde::slirp_config.h | 33 |
1 files changed, 33 insertions, 0 deletions
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 <termios.h> */ ++#ifdef __FreeBSD__ ++#define HAVE_TERMIOS_H ++#else + #undef HAVE_TERMIOS_H ++#endif + + /* Define if you have gethostid */ + #undef HAVE_GETHOSTID |