summaryrefslogblamecommitdiffstats
path: root/graphics/libGL/files/patch-src__gbm__main__common.h
blob: cd870e508167dc014377930ff2d22baee065e37c (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                                           
--- ./src/gbm/main/common.h.orig    2014-02-03 18:42:39.000000000 +0100
+++ ./src/gbm/main/common.h 2014-02-15 21:11:55.000000000 +0100
@@ -28,10 +28,12 @@
 #ifndef _COMMON_H_
 #define _COMMON_H_
 
+#if defined(HAVE_LIBUDEV)
 #include <libudev.h>
 
 struct udev_device *
 _gbm_udev_device_new_from_fd(struct udev *udev, int fd);
+#endif
 
 char *
 _gbm_fd_get_device_name(int fd);