From: Chia-I Wu Date: Sun, 26 Jun 2011 09:03:15 +0000 (+0900) Subject: targets/egl-static: fix building without libudev X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a1cadf2b5c3b8f2e33207e81ee4d1476b5f87805;p=mesa.git targets/egl-static: fix building without libudev Thanks to José for pointing out. --- diff --git a/src/gallium/targets/egl-static/egl.c b/src/gallium/targets/egl-static/egl.c index 9b59ebd60f2..568f5498dd4 100644 --- a/src/gallium/targets/egl-static/egl.c +++ b/src/gallium/targets/egl-static/egl.c @@ -33,9 +33,10 @@ #ifdef HAVE_LIBUDEV #include /* for sscanf */ #include +#endif + #define DRIVER_MAP_GALLIUM_ONLY #include "pci_ids/pci_id_driver_map.h" -#endif #include "egl_pipe.h" #include "egl_st.h"