aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 76736fe6d8c..4068216d448 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