diff mbox

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

Message ID 1424895578-24971-5-git-send-email-mike.holmes@linaro.org
State Superseded
Headers show

Commit Message

Mike Holmes Feb. 25, 2015, 8:19 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 | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/example/ipsec/odp_ipsec.c b/example/ipsec/odp_ipsec.c
index 1aa68db..e53a6ec 100644
--- a/example/ipsec/odp_ipsec.c
+++ b/example/ipsec/odp_ipsec.c
@@ -10,6 +10,7 @@ 
  * @example odp_example_ipsec.c  ODP basic packet IO cross connect with IPsec test application
  */
 
+#define _BSD_SOURCE
 #include <stdlib.h>
 #include <string.h>
 #include <getopt.h>