summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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: