summaryrefslogtreecommitdiff
path: root/extras/scsi_id
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-09-19 23:03:49 -0700
committerKay Sievers <kay.sievers@vrfy.org>2008-09-19 23:03:49 -0700
commit38f27948cdafd8a4b90a6b4f1f54b89891983506 (patch)
tree1d4f2483572bc71e68bd44b6097aa1940551dcd3 /extras/scsi_id
parenta4354f9385fa6854360729678491da64be996f03 (diff)
always include config.h from Makefile
Diffstat (limited to 'extras/scsi_id')
-rw-r--r--extras/scsi_id/Makefile.am7
-rw-r--r--extras/scsi_id/scsi_id.c2
2 files changed, 2 insertions, 7 deletions
diff --git a/extras/scsi_id/Makefile.am b/extras/scsi_id/Makefile.am
index b6bebb69a5..0b5dbf0450 100644
--- a/extras/scsi_id/Makefile.am
+++ b/extras/scsi_id/Makefile.am
@@ -1,12 +1,9 @@
+include $(top_srcdir)/Makefile.am.inc
+
udevhomedir = $(udev_prefix)/lib/udev
udevhome_PROGRAMS = \
scsi_id
-AM_CPPFLAGS = \
- -DSYSCONFDIR=\""$(sysconfdir)"\" \
- -DUDEV_PREFIX=\""$(udev_prefix)"\" \
- -D_LIBUDEV_COMPILATION
-
scsi_id_SOURCES = \
scsi_id.c \
scsi_serial.c \
diff --git a/extras/scsi_id/scsi_id.c b/extras/scsi_id/scsi_id.c
index d692a86799..bf06ed2794 100644
--- a/extras/scsi_id/scsi_id.c
+++ b/extras/scsi_id/scsi_id.c
@@ -14,8 +14,6 @@
* Free Software Foundation version 2 of the License.
*/
-#include "config.h"
-
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>