summaryrefslogtreecommitdiff
path: root/dev/ethertap.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dev/ethertap.cc')
-rw-r--r--dev/ethertap.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/ethertap.cc b/dev/ethertap.cc
index db1b3660f..297053e1e 100644
--- a/dev/ethertap.cc
+++ b/dev/ethertap.cc
@@ -30,7 +30,7 @@
* Interface to connect a simulated ethernet device to the real world
*/
-#if defined(__OpenBSD__)
+#if defined(__OpenBSD__) || defined(__APPLE__)
#include <sys/param.h>
#endif
#include <netinet/in.h>