freebsd-ports/net/vde/files/patch-slirpvde::slirp_config.h
Sergey Matveychuk 032fc7a937 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>
2005-03-11 13:51:32 +00:00

33 lines
687 B
C

--- 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