summaryrefslogtreecommitdiff
path: root/extras/run_directory
diff options
context:
space:
mode:
Diffstat (limited to 'extras/run_directory')
-rw-r--r--extras/run_directory/Makefile2
-rw-r--r--extras/run_directory/run_directory.c4
-rw-r--r--extras/run_directory/udev_run_devd.c4
-rw-r--r--extras/run_directory/udev_run_hotplugd.c4
4 files changed, 4 insertions, 10 deletions
diff --git a/extras/run_directory/Makefile b/extras/run_directory/Makefile
index d138f62c03..37a59597b9 100644
--- a/extras/run_directory/Makefile
+++ b/extras/run_directory/Makefile
@@ -32,7 +32,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/run_directory/run_directory.c b/extras/run_directory/run_directory.c
index 69faecc15e..c715ca6bd3 100644
--- a/extras/run_directory/run_directory.c
+++ b/extras/run_directory/run_directory.c
@@ -22,9 +22,7 @@
#include <sys/wait.h>
#include <sys/stat.h>
-#include "../../udev_utils.h"
-#include "../../list.h"
-#include "../../logging.h"
+#include "../../udev.h"
#include "run_directory.h"
static int exec_program(const char *filename, const char *subsystem)
diff --git a/extras/run_directory/udev_run_devd.c b/extras/run_directory/udev_run_devd.c
index e708de8aa4..59ea766ac2 100644
--- a/extras/run_directory/udev_run_devd.c
+++ b/extras/run_directory/udev_run_devd.c
@@ -22,9 +22,7 @@
#include <sys/wait.h>
#include <sys/stat.h>
-#include "../../udev_utils.h"
-#include "../../list.h"
-#include "../../logging.h"
+#include "../../udev.h"
#include "run_directory.h"
diff --git a/extras/run_directory/udev_run_hotplugd.c b/extras/run_directory/udev_run_hotplugd.c
index a21835ae4e..bfa82ab917 100644
--- a/extras/run_directory/udev_run_hotplugd.c
+++ b/extras/run_directory/udev_run_hotplugd.c
@@ -22,9 +22,7 @@
#include <sys/wait.h>
#include <sys/stat.h>
-#include "../../udev_utils.h"
-#include "../../list.h"
-#include "../../logging.h"
+#include "../../udev.h"
#include "run_directory.h"