DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] examples/bond: add header to support freebsd compilation
@ 2015-11-25 18:03 Daniel Mrzyglod
  2015-11-25 18:08 ` Thomas Monjalon
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel Mrzyglod @ 2015-11-25 18:03 UTC (permalink / raw)
  To: dev

definition of 'AF_INET' enum was missing - is available in <sys/socket.h>

Signed-off-by: Daniel Mrzyglod <danielx.t.mrzyglod@intel.com>
---
 examples/bond/main.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/examples/bond/main.c b/examples/bond/main.c
index 4622283..53bd044 100644
--- a/examples/bond/main.c
+++ b/examples/bond/main.c
@@ -33,6 +33,7 @@
 
 #include <stdint.h>
 #include <sys/queue.h>
+#include <sys/socket.h>
 #include <stdlib.h>
 #include <string.h>
 #include <stdio.h>
-- 
2.5.0

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-12-07  1:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-25 18:03 [dpdk-dev] [PATCH] examples/bond: add header to support freebsd compilation Daniel Mrzyglod
2015-11-25 18:08 ` Thomas Monjalon
2015-11-26  9:55   ` Mrzyglod, DanielX T
2015-12-02 10:53     ` Ferruh Yigit
2015-12-07  1:40       ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).