summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2010-12-01 10:23:14 +1000
committerDave Airlie <airlied@redhat.com>2010-12-01 10:34:21 +1000
commit035f7f3ab529ca19b853066792af8a23d08a0f53 (patch)
treea546a14bcf5a1ddac6dd9f032605a883c17b5a42 /src
parent0f924e83d7be6fca7e024acdf973089efdf3b627 (diff)
radeon: add some missing math.h and assert.h includes
Diffstat (limited to 'src')
-rw-r--r--src/atombios_crtc.c2
-rw-r--r--src/radeon_accel.c1
-rw-r--r--src/radeon_crtc.c2
-rw-r--r--src/radeon_probe.c1
4 files changed, 5 insertions, 1 deletions
diff --git a/src/atombios_crtc.c b/src/atombios_crtc.c
index 651b3d78..8b89bcd5 100644
--- a/src/atombios_crtc.c
+++ b/src/atombios_crtc.c
@@ -40,7 +40,7 @@
#include <X11/extensions/dpms.h>
#endif
-
+#include <math.h>
#include "radeon.h"
#include "radeon_reg.h"
#include "radeon_macros.h"
diff --git a/src/radeon_accel.c b/src/radeon_accel.c
index 1e20e560..1cebcf6a 100644
--- a/src/radeon_accel.c
+++ b/src/radeon_accel.c
@@ -75,6 +75,7 @@
#include <errno.h>
#include <string.h>
+#include <assert.h>
/* Driver data structures */
#include "radeon.h"
#include "radeon_reg.h"
diff --git a/src/radeon_crtc.c b/src/radeon_crtc.c
index 550bd39b..d84112e6 100644
--- a/src/radeon_crtc.c
+++ b/src/radeon_crtc.c
@@ -32,6 +32,8 @@
#include <string.h>
#include <stdio.h>
+#include <assert.h>
+#include <math.h>
/* X and server generic header files */
#include "xf86.h"
diff --git a/src/radeon_probe.c b/src/radeon_probe.c
index 4405d404..78190272 100644
--- a/src/radeon_probe.c
+++ b/src/radeon_probe.c
@@ -31,6 +31,7 @@
#endif
#include <string.h>
+#include <stdlib.h>
/*
* Authors: