summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/swr/swr_context.h
diff options
context:
space:
mode:
authorGeorge Kyriazis <[email protected]>2016-11-11 11:44:05 -0600
committerTim Rowley <[email protected]>2016-11-21 12:44:46 -0600
commit974d280e815727f84e799cf69058630b954dec7e (patch)
tree38191fbe1665327171ad3af386f3e6f21609ed9d /src/gallium/drivers/swr/swr_context.h
parent915b4b0d494ad9705a7be59baec9e11a5576503a (diff)
swr: Handle windows.h and NOMINMAX
Reorder header files so that we have a chance to defined NOMINMAX before mesa include files include windows.h v3: split from bigger patch Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium/drivers/swr/swr_context.h')
-rw-r--r--src/gallium/drivers/swr/swr_context.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/swr/swr_context.h b/src/gallium/drivers/swr/swr_context.h
index eecfe0d40de..04e11fe78a8 100644
--- a/src/gallium/drivers/swr/swr_context.h
+++ b/src/gallium/drivers/swr/swr_context.h
@@ -24,6 +24,8 @@
#ifndef SWR_CONTEXT_H
#define SWR_CONTEXT_H
+#include "common/os.h"
+
#include "pipe/p_context.h"
#include "pipe/p_state.h"
#include "util/u_blitter.h"