summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoan Lledó <joanlluislledo@gmail.com>2019-03-31 19:55:40 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2019-03-31 20:01:57 +0200
commit7bd734d38cad4292e4e7e60699a5abcc73430552 (patch)
tree3cb009171936ae13ea276b37e50769412e62a9fd
parentef29551e773fd047f855c0922f002d67f18c1ca8 (diff)
lwip: Add headers to the tun driver
Since O_CREAT and pals are not included for other headers anymore * lwip/port/netif/hurdtunif.c: * Include sys/types.h, sys/stat.h and fcntl.h Message-Id: <20190331175541.7095-4-jlledom@member.fsf.org>
-rw-r--r--lwip/port/netif/hurdtunif.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lwip/port/netif/hurdtunif.c b/lwip/port/netif/hurdtunif.c
index 80b5280d..728db9ac 100644
--- a/lwip/port/netif/hurdtunif.c
+++ b/lwip/port/netif/hurdtunif.c
@@ -23,6 +23,9 @@
#include <netif/hurdtunif.h>
#include <hurd/trivfs.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <fcntl.h>
#include <net/if.h>
#include <net/if_arp.h>
#include <error.h>