Bring compat functions decls in scope and fix build with clang 15
This commit is contained in:
parent
3eb3ec3955
commit
a88895410f
|
@ -1,6 +1,7 @@
|
|||
COMMENT= utilities for jailing a user or process
|
||||
|
||||
DISTNAME= jailkit-2.19
|
||||
REVISION= 0
|
||||
CATEGORIES= security sysutils
|
||||
|
||||
HOMEPAGE= http://olivier.sessink.nl/jailkit/
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
Proper include to access local compat functions.
|
||||
|
||||
Index: src/jk_procmailwrapper.c
|
||||
--- src/jk_procmailwrapper.c.orig
|
||||
+++ src/jk_procmailwrapper.c
|
||||
@@ -49,6 +49,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||
#include <errno.h>
|
||||
#include <grp.h>
|
||||
|
||||
+#include "utils.h"
|
||||
#include "jk_lib.h"
|
||||
|
||||
#define PROGRAMNAME "jk_procmailwrapper"
|
Loading…
Reference in New Issue