Prevent a compile-time error due to a missing system header file when UDEV support is enabled
Prevent the following compile-time error due to a missing system header file (see --enable-config-udev which defaults to "auto"):
CCLD Xorg
/usr/bin/ld: common/.libs/libcommon.a(udev.o): in function device_added': udev.c:(.text+0x2bb): undefined reference to
major'
/usr/bin/ld: udev.c:(.text+0x2fe): undefined reference to minor' /usr/bin/ld: udev.c:(.text+0x666): undefined reference to
minor'
/usr/bin/ld: udev.c:(.text+0x672): undefined reference to major' /usr/bin/ld: udev.c:(.text+0x69e): undefined reference to
minor'
/usr/bin/ld: udev.c:(.text+0x6ab): undefined reference to major' /usr/bin/ld: common/.libs/libcommon.a(udev.o): in function
device_removed':
udev.c:(.text+0xb6a): undefined reference to minor' /usr/bin/ld: udev.c:(.text+0xb77): undefined reference to
major'
/usr/bin/ld: common/.libs/libcommon.a(udev.o): in function config_udev_odev_probe': udev.c:(.text+0x10ee): undefined reference to
minor'
/usr/bin/ld: udev.c:(.text+0x10fc): undefined reference to `major'
Fixes: #879 (closed)
Signed-off-by: Guido Trentalancia guido@trentalancia.com