summaryrefslogtreecommitdiff
path: root/src/common.h
diff options
context:
space:
mode:
authorDave <airlied@linux.ie>2006-04-29 16:41:32 +1000
committerDave Airlie <airlied@linux.ie>2006-06-02 10:02:12 +1000
commitf45c1a70e5f7fff082a206ab64d8e6783d4c894f (patch)
tree9168fe62689af4853f3f9f69cde36e856b553297 /src/common.h
parent164cac1dec960ad062e066eff92bfdde5e9527e0 (diff)
make i830 driver build with old servers
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h
index 10267360..316be13e 100644
--- a/src/common.h
+++ b/src/common.h
@@ -315,4 +315,8 @@ extern int I810_DEBUG;
#define PIPE_NAME(n) ('A' + (n))
+#ifndef MAX
+#define MAX(a,b) ((a) > (b) ? (a) : (b))
+#endif
+
#endif /* _INTEL_COMMON_H_ */