From 0f9ffed1c3949ef63e2c0f92336879a4b96f353d Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Nov 02 2009 18:25:48 +0000 Subject: Fix building with older libudev --- diff --git a/bluez.spec b/bluez.spec index a5db7aa..43da5e1 100644 --- a/bluez.spec +++ b/bluez.spec @@ -130,7 +130,7 @@ make # Build by hand... pushd tools -gcc -o hid2hci -DUTIL_PATH_SIZE=4096 `pkg-config --libs --cflags libudev libusb` hid2hci.c +gcc -o hid2hci -DUTIL_PATH_SIZE=4096 -DLIBUDEV_I_KNOW_THE_API_IS_SUBJECT_TO_CHANGE=1 `pkg-config --libs --cflags libudev libusb` hid2hci.c popd %install