diff mbox

[04/12] example: odp_ipsec: fix c99 storage size of ‘ifr’ isn’t known

Message ID 1424468661-967-6-git-send-email-mike.holmes@linaro.org
State New
Headers show

Commit Message

Mike Holmes Feb. 20, 2015, 9:44 p.m. UTC
odp_ipsec.c:233:15: error: storage size of ‘ifr’ isn’t known
  struct ifreq ifr;

Signed-off-by: Mike Holmes <mike.holmes@linaro.org>
---
 example/ipsec/odp_ipsec.c | 2 ++
 1 file changed, 2 insertions(+)
diff mbox

Patch

diff --git a/example/ipsec/odp_ipsec.c b/example/ipsec/odp_ipsec.c
index 1aa68db..6cd6ae0 100644
--- a/example/ipsec/odp_ipsec.c
+++ b/example/ipsec/odp_ipsec.c
@@ -15,6 +15,8 @@ 
 #include <getopt.h>
 #include <unistd.h>
 
+#include <sys/socket.h>
+#include <linux/if.h>
 #include <example_debug.h>
 
 #include <odp.h>