aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--src/file.c1
-rw-r--r--src/log.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/file.c b/src/file.c
index a1ebb6d..3723cf6 100644
--- a/src/file.c
+++ b/src/file.c
@@ -5,6 +5,7 @@
#include <ftw.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <sys/stat.h>
#include <unistd.h>
diff --git a/src/log.h b/src/log.h
index 87f352f..72a63c4 100644
--- a/src/log.h
+++ b/src/log.h
@@ -2,9 +2,9 @@
#define __LOG_H__
#include <errno.h>
+#include <libgen.h>
#include <netdb.h>
#include <stdio.h>
-#include <string.h>
#define CONCAT_INNER(a, b) a##b
#define CONCAT(a, b) CONCAT_INNER(a, b)