diff options
-rw-r--r-- | src/slirp.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/slirp.c b/src/slirp.c index 4967475..14458e8 100644 --- a/src/slirp.c +++ b/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 */ |