Index: src/chkshsgr.c =================================================================== --- src/chkshsgr.c.orig +++ src/chkshsgr.c @@ -1,6 +1,8 @@ /* Public domain. */ +#include #include +#include int main() { Index: src/multilog.c =================================================================== --- src/multilog.c.orig +++ src/multilog.c @@ -20,6 +20,7 @@ #include "sig.h" #include "match.h" #include "deepsleep.h" +#include #define FATAL "multilog: fatal: " #define WARNING "multilog: warning: " Index: src/prot.c =================================================================== --- src/prot.c.orig +++ src/prot.c @@ -2,6 +2,9 @@ #include "hasshsgr.h" #include "prot.h" +#include +#include +#include int prot_gid(int gid) { Index: src/seek_set.c =================================================================== --- src/seek_set.c.orig +++ src/seek_set.c @@ -2,6 +2,8 @@ #include #include "seek.h" +#include +#include #define SET 0 /* sigh */ Index: src/supervise.c =================================================================== --- src/supervise.c.orig +++ src/supervise.c @@ -15,6 +15,7 @@ #include "iopause.h" #include "taia.h" #include "deepsleep.h" +#include #define FATAL "supervise: fatal: " #define WARNING "supervise: warning: " Index: src/matchtest.c =================================================================== --- src/matchtest.c.orig +++ src/matchtest.c @@ -1,6 +1,7 @@ #include "match.h" #include "buffer.h" #include "str.h" +#include int main(int argc,char **argv) { Index: src/pathexec_run.c =================================================================== --- src/pathexec_run.c.orig +++ src/pathexec_run.c @@ -5,6 +5,7 @@ #include "str.h" #include "env.h" #include "pathexec.h" +#include static stralloc tmp;