]> git.droids-corp.org - dpdk.git/commitdiff
examples/ip_pipeline: fix build in old environments
authorJasvinder Singh <jasvinder.singh@intel.com>
Wed, 9 Dec 2015 11:12:53 +0000 (11:12 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 9 Dec 2015 21:02:33 +0000 (22:02 +0100)
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")
Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
examples/ip_pipeline/config_parse.c

index 6e49763db4bd64f41b9b5359ed6fa379bcc18b51..6aaca115e93905443fd019ed3a13ff6ec1861587 100644 (file)
@@ -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>