summaryrefslogtreecommitdiff
path: root/src/gallium/targets
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2011-06-26 18:03:15 +0900
committerChia-I Wu <olv@lunarg.com>2011-06-26 18:04:42 +0900
commita1cadf2b5c3b8f2e33207e81ee4d1476b5f87805 (patch)
tree5484a175d3ab0e69493092ff94389fe81411e9a7 /src/gallium/targets
parent450f48627684c6ea1472b4fdd51c6fc121f2bc9c (diff)
targets/egl-static: fix building without libudev
Thanks to José for pointing out.
Diffstat (limited to 'src/gallium/targets')
-rw-r--r--src/gallium/targets/egl-static/egl.c3
1 files changed, 2 insertions, 1 deletions
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 <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"