summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/drivers/radeon/r600_pipe_common.h2
-rw-r--r--src/gallium/winsys/radeon/drm/radeon_drm_bo.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/r600_pipe_common.h b/src/gallium/drivers/radeon/r600_pipe_common.h
index bf0b96867cf..6ee20f6fc77 100644
--- a/src/gallium/drivers/radeon/r600_pipe_common.h
+++ b/src/gallium/drivers/radeon/r600_pipe_common.h
@@ -32,6 +32,8 @@
#ifndef R600_PIPE_COMMON_H
#define R600_PIPE_COMMON_H
+#include <stdio.h>
+
#include "../../winsys/radeon/drm/radeon_winsys.h"
#include "util/u_range.h"
diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_bo.c b/src/gallium/winsys/radeon/drm/radeon_drm_bo.c
index ca569a15d0e..2ac060bdbae 100644
--- a/src/gallium/winsys/radeon/drm/radeon_drm_bo.c
+++ b/src/gallium/winsys/radeon/drm/radeon_drm_bo.c
@@ -41,6 +41,7 @@
#include <xf86drm.h>
#include <errno.h>
#include <fcntl.h>
+#include <stdio.h>
/*
* this are copy from radeon_drm, once an updated libdrm is released