summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/lb-plugin/lb/lbhash.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/lb-plugin/lb/lbhash.h b/plugins/lb-plugin/lb/lbhash.h
index d47b49828fa..ca3cc143dc2 100644
--- a/plugins/lb-plugin/lb/lbhash.h
+++ b/plugins/lb-plugin/lb/lbhash.h
@@ -31,7 +31,9 @@
#include <vnet/vnet.h>
+#if defined (__SSE4_2__)
#include <immintrin.h>
+#endif
/*
* @brief Number of entries per bucket.