ivshmem: fix build
authorOlivier Matz <olivier.matz@6wind.com>
Mon, 19 May 2014 12:36:37 +0000 (14:36 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 19 May 2014 12:59:56 +0000 (14:59 +0200)
Fix compilation error introduced by:
e5ac7c2ff367edd eal: don't inline string functions

The stdio.h include is missing due to its removing from rte_string_fns.h.

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
lib/librte_ivshmem/rte_ivshmem.c

index 675c383..4a5e7b0 100644 (file)
@@ -35,6 +35,7 @@
 #include <unistd.h>
 #include <sys/mman.h>
 #include <string.h>
+#include <stdio.h>
 
 #include <rte_eal_memconfig.h>
 #include <rte_memory.h>