]> granicus.if.org Git - postgresql/commitdiff
Add #include needed for _mm_mfence() intrinsic on ia64.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 9 Jul 2013 07:23:18 +0000 (10:23 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 9 Jul 2013 07:29:43 +0000 (10:29 +0300)
Hopefully this fixes the build failure on buildfarm member dugong.

src/include/storage/barrier.h

index 1768e65c6b76fd9beeeb869ae89a30c0091e9985..a54a74c1a3e4f2e8c7056cb5b20a8171fa242220 100644 (file)
@@ -53,6 +53,7 @@ extern slock_t dummy_spinlock;
 /*
  * icc defines __GNUC__, but doesn't support gcc's inline asm syntax
  */
+#include <emmintrin.h>
 #define pg_memory_barrier()            _mm_mfence()
 #define pg_compiler_barrier()  __memory_barrier()
 #elif defined(__GNUC__)