summaryrefslogtreecommitdiff
path: root/fb
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2007-06-03 09:40:37 +1000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2007-06-03 09:40:37 +1000
commite5ce982381c4092252d6b55fcefcc9a3cd21e656 (patch)
tree4dcc8212006d68ef1b10648f61fd4b3d5993538d /fb
parent90eb22656c34d2d08a8dccaf05e6d081c56bd7f3 (diff)
Include pixman.h from fb.h or compile of some files will fail
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'fb')
-rw-r--r--fb/fb.h2
-rw-r--r--fb/fbpict.c1
-rw-r--r--fb/fbtrap.c2
3 files changed, 2 insertions, 3 deletions
diff --git a/fb/fb.h b/fb/fb.h
index 7d9488689..655d5ae0b 100644
--- a/fb/fb.h
+++ b/fb/fb.h
@@ -26,6 +26,8 @@
#define _FB_H_
#include <X11/X.h>
+#include <pixman/pixman.h>
+
#include "scrnintstr.h"
#include "pixmap.h"
#include "pixmapstr.h"
diff --git a/fb/fbpict.c b/fb/fbpict.c
index 00dde61a3..68c0e63ad 100644
--- a/fb/fbpict.c
+++ b/fb/fbpict.c
@@ -30,7 +30,6 @@
#include <string.h>
#include "fb.h"
-#include <pixman/pixman.h>
#ifdef RENDER
diff --git a/fb/fbtrap.c b/fb/fbtrap.c
index 07b4fbbc2..831306869 100644
--- a/fb/fbtrap.c
+++ b/fb/fbtrap.c
@@ -30,8 +30,6 @@
#ifdef RENDER
-#include <pixman/pixman.h>
-
#include "picturestr.h"
#include "mipict.h"
#include "renderedge.h"