summaryrefslogtreecommitdiff
path: root/extras/edd_id
diff options
context:
space:
mode:
Diffstat (limited to 'extras/edd_id')
-rw-r--r--extras/edd_id/Makefile2
-rw-r--r--extras/edd_id/edd_id.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/extras/edd_id/Makefile b/extras/edd_id/Makefile
index 5a6cdb65c3..db6afae18c 100644
--- a/extras/edd_id/Makefile
+++ b/extras/edd_id/Makefile
@@ -33,7 +33,7 @@ all: $(PROG) $(MAN_PAGES)
$(QUIET) $(CC) -c $(CFLAGS) $< -o $@
$(PROG): %: $(HEADERS) %.o $(OBJS)
- $(QUIET) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIBSYSFS) $(LIB_OBJS)
+ $(QUIET) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIB_OBJS)
ifneq ($(strip $(STRIPCMD)),)
$(QUIET) $(STRIPCMD) $@
endif
diff --git a/extras/edd_id/edd_id.c b/extras/edd_id/edd_id.c
index f21362b902..8fc690a49c 100644
--- a/extras/edd_id/edd_id.c
+++ b/extras/edd_id/edd_id.c
@@ -18,12 +18,12 @@
#include <unistd.h>
#include <fcntl.h>
#include <ctype.h>
+#include <string.h>
#include <errno.h>
#include <dirent.h>
#include <stdint.h>
-#include "../../logging.h"
-#include "../../udev_utils.h"
+#include "../../udev.h"
#ifdef USE_LOG
void log_message(int priority, const char *format, ...)