* [PATCH] net: fix include error
@ 2018-04-12 17:28 James Prestwood
2018-04-12 19:34 ` Denis Kenzior
0 siblings, 1 reply; 2+ messages in thread
From: James Prestwood @ 2018-04-12 17:28 UTC (permalink / raw)
To: ell
[-- Attachment #1: Type: text/plain, Size: 404 bytes --]
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(+)
diff --git a/ell/net.c b/ell/net.c
index 77eadff..b5b5f9d 100644
--- a/ell/net.c
+++ b/ell/net.c
@@ -24,6 +24,7 @@
#include <config.h>
#endif
+#include <sys/socket.h>
#include <linux/if_arp.h>
#include <unistd.h>
#include <errno.h>
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] net: fix include error
2018-04-12 17:28 [PATCH] net: fix include error James Prestwood
@ 2018-04-12 19:34 ` Denis Kenzior
0 siblings, 0 replies; 2+ messages in thread
From: Denis Kenzior @ 2018-04-12 19:34 UTC (permalink / raw)
To: ell
[-- Attachment #1: Type: text/plain, Size: 256 bytes --]
Hi James,
On 04/12/2018 12:28 PM, James Prestwood wrote:
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-04-12 19:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-12 17:28 [PATCH] net: fix include error James Prestwood
2018-04-12 19:34 ` Denis Kenzior
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.