[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/2] Include required sockets headers
From: |
Joan Lledó |
Subject: |
[PATCH 2/2] Include required sockets headers |
Date: |
Mon, 30 Apr 2018 12:43:24 +0200 |
---
lwip/iioctl-ops.c | 1 +
lwip/lwip-util.c | 1 +
lwip/pfinet-ops.c | 2 ++
lwip/port/netif/hurdethif.c | 2 ++
4 files changed, 6 insertions(+)
diff --git a/lwip/iioctl-ops.c b/lwip/iioctl-ops.c
index fcb7e872..6d3b6cb9 100644
--- a/lwip/iioctl-ops.c
+++ b/lwip/iioctl-ops.c
@@ -23,6 +23,7 @@
#include <lwip_iioctl_S.h>
#include <lwip/sockets.h>
+#include <lwip/inet.h>
#include <device/device.h>
#include <device/net_status.h>
diff --git a/lwip/lwip-util.c b/lwip/lwip-util.c
index c65b093b..57a94d52 100644
--- a/lwip/lwip-util.c
+++ b/lwip/lwip-util.c
@@ -26,6 +26,7 @@
#include <net/if_arp.h>
#include <lwip/sockets.h>
+#include <lwip/inet.h>
#include <lwip/netifapi.h>
#include <lwip-hurd.h>
diff --git a/lwip/pfinet-ops.c b/lwip/pfinet-ops.c
index 96d2d12b..56b7dcd1 100644
--- a/lwip/pfinet-ops.c
+++ b/lwip/pfinet-ops.c
@@ -26,6 +26,8 @@
#include <sys/ioctl.h>
#include <net/if.h>
#include <lwip/netif.h>
+#include <lwip/sockets.h>
+#include <lwip/inet.h>
#include <sys/mman.h>
#include <lwip-util.h>
diff --git a/lwip/port/netif/hurdethif.c b/lwip/port/netif/hurdethif.c
index bcf2e4dd..4b088344 100644
--- a/lwip/port/netif/hurdethif.c
+++ b/lwip/port/netif/hurdethif.c
@@ -43,6 +43,8 @@
#include <lwip/snmp.h>
#include <lwip/ethip6.h>
#include <lwip/etharp.h>
+#include <lwip/sockets.h>
+#include <lwip/inet.h>
/* Get the MAC address from an array of int */
#define GET_HWADDR_BYTE(x,n) (((char*)x)[n])
--
2.14.0