summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/compiler.h3
-rw-r--r--src/mesa/main/cpuinfo.c2
-rw-r--r--src/mesa/main/imports.h2
3 files changed, 3 insertions, 4 deletions
diff --git a/src/mesa/main/compiler.h b/src/mesa/main/compiler.h
index 12c02b2fe51..a700ff9eb23 100644
--- a/src/mesa/main/compiler.h
+++ b/src/mesa/main/compiler.h
@@ -36,9 +36,6 @@
#include <assert.h>
#include <math.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
#include "util/macros.h"
diff --git a/src/mesa/main/cpuinfo.c b/src/mesa/main/cpuinfo.c
index 0755d6b21eb..67f22ab9c81 100644
--- a/src/mesa/main/cpuinfo.c
+++ b/src/mesa/main/cpuinfo.c
@@ -23,7 +23,7 @@
*/
-#include "main/compiler.h"
+#include "main/imports.h"
#include "main/cpuinfo.h"
diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h
index d8864272e11..2af45a3b254 100644
--- a/src/mesa/main/imports.h
+++ b/src/mesa/main/imports.h
@@ -36,6 +36,8 @@
#define IMPORTS_H
+#include <stdlib.h>
+#include <string.h>
#include "compiler.h"
#include "glheader.h"
#include "errors.h"