From fccbe2bee4c14c4d1b0a6f19d6a91c02bec76922 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Sun, 12 May 2024 21:08:39 +0200 Subject: [PATCH] Add missing #include Signed-off-by: DL6ER --- src/api/teleporter.c | 2 ++ src/files.c | 3 +++ 2 files changed, 5 insertions(+) diff --git a/src/api/teleporter.c b/src/api/teleporter.c index 5e4a3b5a..986f6bc4 100644 --- a/src/api/teleporter.c +++ b/src/api/teleporter.c @@ -25,6 +25,8 @@ #include "database/common.h" // MAX_ROTATIONS #include "files.h" +//basename() +#include #define MAXFILESIZE (50u*1024*1024) diff --git a/src/files.c b/src/files.c index 5e1f57c0..cb5799fd 100644 --- a/src/files.c +++ b/src/files.c @@ -33,6 +33,9 @@ // PRIu64 #include +//basename() +#include + // chmod_file() changes the file mode bits of a given file (relative // to the directory file descriptor) according to mode. mode is an // octal number representing the bit pattern for the new mode bits