diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/bar.c | 1 | ||||
-rw-r--r-- | src/ctx.c | 3 | ||||
-rw-r--r-- | src/diag.c | 1 | ||||
-rw-r--r-- | src/eval.c | 1 | ||||
-rw-r--r-- | src/opt.c | 1 | ||||
-rw-r--r-- | src/pwcache.c | 2 | ||||
-rw-r--r-- | src/sighook.c | 1 |
7 files changed, 6 insertions, 4 deletions
@@ -16,6 +16,7 @@ #include <signal.h> #include <stdarg.h> #include <stdio.h> +#include <stdlib.h> #include <string.h> #include <sys/ioctl.h> #include <termios.h> @@ -14,13 +14,14 @@ #include "sighook.h" #include "stat.h" #include "trie.h" -#include "xtime.h" #include <errno.h> #include <limits.h> #include <signal.h> #include <stdio.h> #include <stdlib.h> +#include <sys/stat.h> +#include <time.h> #include <unistd.h> /** Get the initial value for ctx->threads (-j). */ @@ -11,7 +11,6 @@ #include "dstring.h" #include "expr.h" -#include <errno.h> #include <stdarg.h> #include <stdio.h> #include <stdlib.h> @@ -34,6 +34,7 @@ #include <fnmatch.h> #include <grp.h> #include <pwd.h> +#include <signal.h> #include <stdarg.h> #include <stdint.h> #include <stdio.h> @@ -28,6 +28,7 @@ #include "opt.h" #include "bfs.h" +#include "bfstd.h" #include "bftw.h" #include "bit.h" #include "color.h" diff --git a/src/pwcache.c b/src/pwcache.c index c2b575e..fa19dad 100644 --- a/src/pwcache.c +++ b/src/pwcache.c @@ -10,8 +10,6 @@ #include <grp.h> #include <pwd.h> #include <stdlib.h> -#include <string.h> -#include <unistd.h> /** Represents cache hits for negative results. */ static void *MISSING = &MISSING; diff --git a/src/sighook.c b/src/sighook.c index 861a0b5..4356fdb 100644 --- a/src/sighook.c +++ b/src/sighook.c @@ -27,6 +27,7 @@ #include "thread.h" #include <errno.h> +#include <pthread.h> #include <signal.h> #include <stdlib.h> #include <unistd.h> |