summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2008-03-19 16:02:54 -0400
committerAdam Jackson <ajax@redhat.com>2008-03-19 16:02:54 -0400
commit2d495250bc09ab037985ecd5be4229f40b9dca4a (patch)
tree60c00590d45beefba40478f48e58445c50bfde5c
parentb3ea57ce98505fdafaacf80faff4ef1216682901 (diff)
Finish making xf1bpp/xf4bpp optional.
-rw-r--r--src/tseng.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/tseng.h b/src/tseng.h
index 8dc571a..6af1185 100644
--- a/src/tseng.h
+++ b/src/tseng.h
@@ -1,8 +1,8 @@
-
-
#ifndef _TSENG_H
#define _TSENG_H
+#include "config.h"
+
#include "tseng_pcirename.h"
#include <string.h>
@@ -35,8 +35,12 @@
#include "micmap.h"
/* Needed for the 1 and 4 bpp framebuffers */
+#ifdef HAVE_XF1BPP
#include "xf1bpp.h"
+#endif
+#ifdef HAVE_XF4BPP
#include "xf4bpp.h"
+#endif
#include "fb.h"
/* Drivers using the XAA interface ... */