summaryrefslogtreecommitdiff
path: root/extras/usb_id
diff options
context:
space:
mode:
Diffstat (limited to 'extras/usb_id')
-rw-r--r--extras/usb_id/Makefile.am7
-rw-r--r--extras/usb_id/usb_id.c2
2 files changed, 2 insertions, 7 deletions
diff --git a/extras/usb_id/Makefile.am b/extras/usb_id/Makefile.am
index c8d743b5f4..89d59657fb 100644
--- a/extras/usb_id/Makefile.am
+++ b/extras/usb_id/Makefile.am
@@ -1,12 +1,9 @@
+include $(top_srcdir)/Makefile.am.inc
+
udevhomedir = $(udev_prefix)/lib/udev
udevhome_PROGRAMS = \
usb_id
-AM_CPPFLAGS = \
- -DSYSCONFDIR=\""$(sysconfdir)"\" \
- -DUDEV_PREFIX=\""$(udev_prefix)"\" \
- -D_LIBUDEV_COMPILATION
-
usb_id_SOURCES = \
usb_id.c \
../../udev/lib/libudev.h \
diff --git a/extras/usb_id/usb_id.c b/extras/usb_id/usb_id.c
index 9938dc00ef..f482147b68 100644
--- a/extras/usb_id/usb_id.c
+++ b/extras/usb_id/usb_id.c
@@ -11,8 +11,6 @@
* Free Software Foundation version 2 of the License.
*/
-#include <config.h>
-
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>