diff --git a/daemontools/posix-headers.patch b/daemontools/posix-headers.patch new file mode 100644 index 00000000..f5492ee0 --- /dev/null +++ b/daemontools/posix-headers.patch @@ -0,0 +1,61 @@ +diff -u a/daemontools-0.76/src/matchtest.c b/daemontools-0.76/src/matchtest.c +--- a/daemontools-0.76/src/matchtest.c ++++ b/daemontools-0.76/src/matchtest.c +@@ -1,3 +1,4 @@ ++#include + #include "match.h" + #include "buffer.h" + #include "str.h" +diff -u a/daemontools-0.76/src/multilog.c b/daemontools-0.76/src/multilog.c +--- a/daemontools-0.76/src/multilog.c ++++ b/daemontools-0.76/src/multilog.c +@@ -1,6 +1,7 @@ + #include + #include + #include ++#include + #include "direntry.h" + #include "alloc.h" + #include "buffer.h" +diff -u a/daemontools-0.76/src/pathexec_run.c b/daemontools-0.76/src/pathexec_run.c +--- a/daemontools-0.76/src/pathexec_run.c ++++ b/daemontools-0.76/src/pathexec_run.c +@@ -1,5 +1,6 @@ + /* Public domain. */ + ++#include + #include "error.h" + #include "stralloc.h" + #include "str.h" +diff -u a/daemontools-0.76/src/prot.c b/daemontools-0.76/src/prot.c +--- a/daemontools-0.76/src/prot.c ++++ b/daemontools-0.76/src/prot.c +@@ -1,5 +1,6 @@ + /* Public domain. */ + ++#include + #include "hasshsgr.h" + #include "prot.h" + +diff -u a/daemontools-0.76/src/seek_set.c b/daemontools-0.76/src/seek_set.c +--- a/daemontools-0.76/src/seek_set.c ++++ b/daemontools-0.76/src/seek_set.c +@@ -1,6 +1,7 @@ + /* Public domain. */ + + #include ++#include + #include "seek.h" + + #define SET 0 /* sigh */ +diff -u a/daemontools-0.76/src/supervise.c b/daemontools-0.76/src/supervise.c +--- a/daemontools-0.76/src/supervise.c ++++ b/daemontools-0.76/src/supervise.c +@@ -2,6 +2,7 @@ + #include + #include + #include ++#include + #include "sig.h" + #include "strerr.h" + #include "error.h"