You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
509 B
21 lines
509 B
17 years ago
|
--- ./hotplug2.c.orig 2007-08-15 16:36:03.000000000 -0400
|
||
|
+++ ./hotplug2.c 2007-08-15 16:39:05.000000000 -0400
|
||
|
@@ -13,6 +13,7 @@
|
||
|
#include <unistd.h>
|
||
|
#include <stdlib.h>
|
||
|
#include <errno.h>
|
||
|
+#include <libgen.h>
|
||
|
#include <sys/socket.h>
|
||
|
#include <sys/types.h>
|
||
|
#include <sys/un.h>
|
||
|
@@ -27,6 +28,9 @@
|
||
|
#include "rules.h"
|
||
|
#include "childlist.h"
|
||
|
|
||
|
+#ifndef WAIT_ANY
|
||
|
+#define WAIT_ANY (pid_t)-1
|
||
|
+#endif
|
||
|
#define TERMCONDITION (persistent == 0 && \
|
||
|
coldplug_p == FORK_FINISHED && \
|
||
|
child == NULL && \
|