summaryrefslogtreecommitdiff
path: root/nuttx/arch/sim/src/up_wpcap.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/sim/src/up_wpcap.c')
-rw-r--r--nuttx/arch/sim/src/up_wpcap.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/nuttx/arch/sim/src/up_wpcap.c b/nuttx/arch/sim/src/up_wpcap.c
index 87f376e70..dabbe0dab 100644
--- a/nuttx/arch/sim/src/up_wpcap.c
+++ b/nuttx/arch/sim/src/up_wpcap.c
@@ -54,6 +54,9 @@
#include <stdlib.h>
#include <malloc.h>
+#include <netinet/in.h>
+
+
extern int netdriver_setmacaddr(unsigned char *macaddr);
/****************************************************************************