summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/util/u_queue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/u_queue.h b/src/util/u_queue.h
index 57753bd31bc..d49f713e6ad 100644
--- a/src/util/u_queue.h
+++ b/src/util/u_queue.h
@@ -49,7 +49,7 @@ extern "C" {
#define UTIL_QUEUE_INIT_USE_MINIMUM_PRIORITY (1 << 0)
#define UTIL_QUEUE_INIT_RESIZE_IF_FULL (1 << 1)
-#if defined(__GNUC__) && defined(HAVE_FUTEX)
+#if defined(__GNUC__) && defined(HAVE_LINUX_FUTEX_H)
#define UTIL_QUEUE_FENCE_FUTEX
#else
#define UTIL_QUEUE_FENCE_STANDARD