eal: fix build with icc and gcc < 4.4
authorThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 16 Mar 2015 15:55:50 +0000 (16:55 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 16 Mar 2015 15:59:53 +0000 (16:59 +0100)
x86intrin.h cannot be directly included as it is not
always available.
rte_common_vect.h handles compiler differences.

Suggested-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
lib/librte_eal/common/include/arch/x86/rte_memcpy.h

index ac72069..82ea7c3 100644 (file)
@@ -43,7 +43,7 @@
 #include <stdio.h>
 #include <stdint.h>
 #include <string.h>
-#include <x86intrin.h>
+#include <rte_common_vect.h>
 
 #ifdef __cplusplus
 extern "C" {