summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-08-05 00:59:44 -0700
committerVinson Lee <[email protected]>2010-08-05 00:59:44 -0700
commitad4d27c6d1a32e3c4c92e0f22c8fbdeade4cc7af (patch)
treea62069d1b4b80341059b0e1fb34b7c46cf9ea277
parent2febc491bc7f5539e1e91c5b0f4be4eb4df919f8 (diff)
st/mesa: Include missing headers in st_format.h.
-rw-r--r--src/mesa/state_tracker/st_format.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_format.h b/src/mesa/state_tracker/st_format.h
index 29768f296d6..841c58cadc8 100644
--- a/src/mesa/state_tracker/st_format.h
+++ b/src/mesa/state_tracker/st_format.h
@@ -31,7 +31,12 @@
#define ST_FORMAT_H
#include "main/formats.h"
+#include "main/mtypes.h"
+#include "pipe/p_defines.h"
+#include "pipe/p_format.h"
+
+struct pipe_screen;
extern GLenum
st_format_datatype(enum pipe_format format);