Please consider merging this patch to fix build issues with GCC 16. (for 14.9, but would certainly benefit also to previous versions)
--- a/zen/file_path.cpp
+++ b/zen/file_path.cpp
@@ -4,6 +4,7 @@
// * Copyright (C) Zenju (zenju AT freefilesync DOT org) - All Rights Reserved *
// *****************************************************************************
+#include <unistd.h>
#include "file_path.h"
#include "zstring.h"
--- a/zen/process_priority.cpp
+++ b/zen/process_priority.cpp
@@ -7,6 +7,7 @@
#include "process_priority.h"
#include <sys/resource.h> //setpriority
+#include <sys/syscall.h> /* Definition of SYS_* constants */
using namespace zen;
Errors were:
../../zen/file_path.cpp:179:27: error: ‘environ’ was not declared in this scope; did you mean ‘union’?
179 | if (char** line = environ)
| ^~~~~~~
| union
../../zen/process_priority.cpp:75:30: error: ‘SYS_ioprio_get’ was not declared in this scope
75 | const int rv = ::syscall(SYS_ioprio_get, IOPRIO_WHO_PROCESS, ::getpid());
| ^~~~~~~~~~~~~~