targets/egl-static: fix building without libudev
authorChia-I Wu <olv@lunarg.com>
Sun, 26 Jun 2011 09:03:15 +0000 (18:03 +0900)
committerChia-I Wu <olv@lunarg.com>
Sun, 26 Jun 2011 09:04:42 +0000 (18:04 +0900)
Thanks to José for pointing out.

src/gallium/targets/egl-static/egl.c

index 9b59ebd60f2054c78aa53a6f90127ba415c1c4f4..568f5498dd4aec76e74528c14d6e9fc6fe3c14d7 100644 (file)
 #ifdef HAVE_LIBUDEV
 #include <stdio.h> /* for sscanf */
 #include <libudev.h>
+#endif
+
 #define DRIVER_MAP_GALLIUM_ONLY
 #include "pci_ids/pci_id_driver_map.h"
-#endif
 
 #include "egl_pipe.h"
 #include "egl_st.h"