Skip to contentSkip to conversation

ip_pipeline: fix build errors on different linux kernels

PATCH Applied Jasvinder Singh 2 participants 2 messages Dec 9, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ip_pipeline: fix build errors on different linux kernels

This patch fixes build errors on linux kernels such as SuSE 11-SP2/3(64 bits), etc.

Error Log:
error: implicit declaration of function 'WIFEXITED'
error: implicit declaration of function 'WEXITSTATUS'

Fixes ed0b2d020159 ("examples/ip_pipeline: add more ports")
---
 examples/ip_pipeline/config_parse.c | 1 +
 1 file changed, 1 insertion(+)
examples/ip_pipeline/config_parse.c +1 -0
index 6e49763..6aaca11 100644
@@ -40,6 +40,7 @@
 #include <string.h>
 #include <libgen.h>
 #include <unistd.h>
+#include <sys/wait.h>
 
 #include <rte_errno.h>
 #include <rte_cfgfile.h>
Signature · 1 line
2.5.0