[Slirp] [Git][slirp/libslirp][master] 2 commits: build-sys: fix NetBSD build regression

Marc-André Lureau gitlab at gitlab.freedesktop.org
Fri Mar 20 14:28:32 UTC 2020



Marc-André Lureau pushed to branch master at slirp / libslirp


Commits:
c6cc0eb1 by Marc-André Lureau at 2020-03-20T14:57:34+01:00
build-sys: fix NetBSD build regression

Fixes: 09d410adbff5422b7ba7596bce0ca71f9f807ea9 ("allow custom MTU")

Signed-off-by: Marc-André Lureau <marcandre.lureau at redhat.com>

- - - - -
99e9d4d9 by Marc-André Lureau at 2020-03-20T14:28:29+00:00
Merge branch 'netbsd-fix' into 'master'

build-sys: fix NetBSD build regression

See merge request slirp/libslirp!36
- - - - -


1 changed file:

- src/slirp.c


Changes:

=====================================
src/slirp.c
=====================================
@@ -29,6 +29,11 @@
 #include <net/if.h>
 #endif
 
+/* https://gitlab.freedesktop.org/slirp/libslirp/issues/18 */
+#if defined(__NetBSD__) && defined(if_mtu)
+#undef if_mtu
+#endif
+
 int slirp_debug;
 
 /* Define to 1 if you want KEEPALIVE timers */



View it on GitLab: https://gitlab.freedesktop.org/slirp/libslirp/-/compare/8985b73b748ec13bdb16b8c9ba83ac75bd4c0e4b...99e9d4d9e6695d2f41b178d6ae03aaba842fb562

-- 
View it on GitLab: https://gitlab.freedesktop.org/slirp/libslirp/-/compare/8985b73b748ec13bdb16b8c9ba83ac75bd4c0e4b...99e9d4d9e6695d2f41b178d6ae03aaba842fb562
You're receiving this email because of your account on gitlab.freedesktop.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/slirp/attachments/20200320/d16f582a/attachment.htm>


More information about the Slirp mailing list