$NetBSD$

--- src/VBox/Devices/Network/lwip/src/api/sockets.c.orig	2011-01-14 20:15:13.000000000 +0000
+++ src/VBox/Devices/Network/lwip/src/api/sockets.c
@@ -36,6 +36,7 @@
 #ifndef _MSC_VER /* Why is errno.h included here - see lwip/arch.h -> lwip/cc.h */
 # include <errno.h>
 #endif
+#include <time.h>
 
 #include "lwip/opt.h"
 #include "lwip/api.h"
