aboutsummaryrefslogtreecommitdiffstats
path: root/slirp2
diff options
context:
space:
mode:
Diffstat (limited to 'slirp2')
-rw-r--r--slirp2/slirp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/slirp2/slirp.h b/slirp2/slirp.h
index e69940b..3ee8111 100644
--- a/slirp2/slirp.h
+++ b/slirp2/slirp.h
@@ -14,6 +14,10 @@
#include <stddef.h>
#include "sockets.h"
+#ifdef _BSD
+#include <netinet/in.h>
+#endif
+
#ifdef _WIN32
# include <inttypes.h>