Module Name:    xsrc
Committed By:   mrg
Date:           Sun Mar  3 11:09:04 UTC 2019

Modified Files:
        xsrc/external/mit/xf86-video-nouveau/dist/src: drmmode_display.c

Log Message:
put drmmode_udev_notify() under HAVE_LIBUDEV.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 \
    xsrc/external/mit/xf86-video-nouveau/dist/src/drmmode_display.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/external/mit/xf86-video-nouveau/dist/src/drmmode_display.c
diff -u xsrc/external/mit/xf86-video-nouveau/dist/src/drmmode_display.c:1.10 xsrc/external/mit/xf86-video-nouveau/dist/src/drmmode_display.c:1.11
--- xsrc/external/mit/xf86-video-nouveau/dist/src/drmmode_display.c:1.10	Sun Mar  3 09:44:37 2019
+++ xsrc/external/mit/xf86-video-nouveau/dist/src/drmmode_display.c	Sun Mar  3 11:09:04 2019
@@ -1843,6 +1843,7 @@ out:
 
 #endif
 
+#ifdef HAVE_LIBUDEV
 #if HAVE_NOTIFY_FD
 static void
 drmmode_udev_notify(int fd, int notify, void *data)
@@ -1851,6 +1852,7 @@ drmmode_udev_notify(int fd, int notify, 
 	drmmode_handle_uevents(scrn);
 }
 #endif
+#endif
 
 static bool has_randr(void)
 {

Reply via email to