aboutsummaryrefslogtreecommitdiffstats
path: root/src/vppinfra/cuckoo_8_8.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vppinfra/cuckoo_8_8.h')
-rw-r--r--src/vppinfra/cuckoo_8_8.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vppinfra/cuckoo_8_8.h b/src/vppinfra/cuckoo_8_8.h
index 127e4e5b76d..608cb0e943c 100644
--- a/src/vppinfra/cuckoo_8_8.h
+++ b/src/vppinfra/cuckoo_8_8.h
@@ -39,7 +39,9 @@
#define CLIB_CUCKOO_OPTIMIZE_UNROLL 1
#define CLIB_CUCKOO_OPTIMIZE_USE_COUNT_LIMITS_SEARCH 1
+#if __SSE4_2__ && !defined (__i386__)
#include <x86intrin.h>
+#endif
/** 8 octet key, 8 octet key value pair */
typedef struct