freebsd-ports/net/vde/files/patch-slirpvde::libslirp.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

15 lines
280 B
C

--- slirpvde/libslirp.h Sat Jan 29 15:02:08 2005
+++ slirpvde/libslirp.h Sun Jan 30 13:55:31 2005
@@ -2,7 +2,11 @@
#define _LIBSLIRP_H
#include <sys/select.h>
+#ifdef __FreeBSD__
+#include <sys/types.h>
+#else
#include <stdint.h>
+#endif
void slirp_init(char *network);