Skip to contentSkip to conversation

net: fix include error

PATCH Applied James Prestwood 2 participants 2 messages Apr 12, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: fix include error

sys/socket.h needed to be included before linux/if_arp.h to fix a build error.

---
 ell/net.c | 1 +
 1 file changed, 1 insertion(+)
ell/net.c +1 -0
index 77eadff..b5b5f9d 100644
@@ -24,6 +24,7 @@
 #include <config.h>
 #endif
 
+#include <sys/socket.h>
 #include <linux/if_arp.h>
 #include <unistd.h>
 #include <errno.h>
Signature · 1 line
2.7.4
#1 lore raw

Hi James,

Quoted 6 lines · James Prestwood

sys/socket.h needed to be included before linux/if_arp.h to fix a build error.

---
  ell/net.c | 1 +
  1 file changed, 1 insertion(+)

Applied, thanks.

Regards,
-Denis