summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/fbdev
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/fbdev')
-rw-r--r--src/mesa/drivers/fbdev/glfbdev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/fbdev/glfbdev.c b/src/mesa/drivers/fbdev/glfbdev.c
index 76736fe6d8..4068216d44 100644
--- a/src/mesa/drivers/fbdev/glfbdev.c
+++ b/src/mesa/drivers/fbdev/glfbdev.c
@@ -38,7 +38,7 @@
* 24 bits | ? 0x312 0x315 0x318 ? 0x31B 0x31F
* 32 bits | ? ? ? ? 0x164 ?
*/
-
+#ifdef USE_GLFBDEV_DRIVER
#include "glheader.h"
#include <linux/fb.h>
@@ -795,4 +795,4 @@ glFBDevMakeCurrent( GLFBDevContextPtr context,
return 1;
}
-
+#endif