summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/tgsi
diff options
context:
space:
mode:
authorMichal <[email protected]>2007-11-18 13:20:57 +0000
committerJosé Fonseca <[email protected]>2007-11-22 11:43:04 +0000
commit0e31e24659a1e691bdfa213fcd073bbfaa4ed6e9 (patch)
tree651c6dce46e5fed4afd5d75d68d1503676e4ae74 /src/mesa/pipe/tgsi
parent5961732c1b59403b4e736fa354a64d4a0e5d8af2 (diff)
Fix compatibility issues between gcc and msvc.
Diffstat (limited to 'src/mesa/pipe/tgsi')
-rw-r--r--src/mesa/pipe/tgsi/tgsi_platform.h35
1 files changed, 16 insertions, 19 deletions
diff --git a/src/mesa/pipe/tgsi/tgsi_platform.h b/src/mesa/pipe/tgsi/tgsi_platform.h
index b98a1f21bec..e7a381b201b 100644
--- a/src/mesa/pipe/tgsi/tgsi_platform.h
+++ b/src/mesa/pipe/tgsi/tgsi_platform.h
@@ -1,19 +1,16 @@
-#if !defined TGSI_PLATFORM_H
-#define TGSI_PLATFORM_H
-
-#if defined __cplusplus
-extern "C" {
-#endif // defined __cplusplus
-
-#include "imports.h"
-#include "mtypes.h"
-#include "prog_instruction.h"
-#include "program.h"
-#include "pipe/p_compiler.h"
-
-#if defined __cplusplus
-} // extern "C"
-#endif // defined __cplusplus
-
-#endif // !defined TGSI_PLATFORM_H
-
+#if !defined TGSI_PLATFORM_H
+#define TGSI_PLATFORM_H
+
+#if defined __cplusplus
+extern "C" {
+#endif // defined __cplusplus
+
+#include "pipe/p_compiler.h"
+#include "pipe/p_util.h"
+
+#if defined __cplusplus
+} // extern "C"
+#endif // defined __cplusplus
+
+#endif // !defined TGSI_PLATFORM_H
+