summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/intel/tools/i965_asm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/intel/tools/i965_asm.h b/src/intel/tools/i965_asm.h
index 7027f4e5fb4..dd29208198f 100644
--- a/src/intel/tools/i965_asm.h
+++ b/src/intel/tools/i965_asm.h
@@ -36,6 +36,9 @@
#include "compiler/brw_eu.h"
#include "dev/gen_device_info.h"
+/* glibc < 2.27 defines OVERFLOW in /usr/include/math.h. */
+#undef OVERFLOW
+
void yyerror (char *);
int yyparse(void);
int yylex(void);