Add missing #include

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2024-05-12 21:08:39 +02:00
parent b83fcadf6c
commit fccbe2bee4
2 changed files with 5 additions and 0 deletions
+2
View File
@@ -25,6 +25,8 @@
#include "database/common.h"
// MAX_ROTATIONS
#include "files.h"
//basename()
#include <libgen.h>
#define MAXFILESIZE (50u*1024*1024)
+3
View File
@@ -33,6 +33,9 @@
// PRIu64
#include <inttypes.h>
//basename()
#include <libgen.h>
// 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