aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-08-28 19:42:52 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2022-08-28 19:42:52 +0200
commit8da7ca8374db172c8a2400c7e3d8fe3cb6b967b6 (patch)
treecb0aa21b6fcc570fe128d95c0fbb8f19a58bffe9
parentdon't use the latest glibc features (diff)
downloadcimple-8da7ca8374db172c8a2400c7e3d8fe3cb6b967b6.tar.gz
cimple-8da7ca8374db172c8a2400c7e3d8fe3cb6b967b6.zip
fix Alpine builds
Diffstat (limited to '')
-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)