mirror of
https://github.com/LibreOffice/online.git
synced 2025-08-20 23:24:34 +00:00
fix --disable-seccomp build
Change-Id: I32008de7745e106e4a633fb587f2837c59cdd541 Reviewed-on: https://gerrit.libreoffice.org/50652 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
This commit is contained in:

committed by
Michael Meeks

parent
4c07c11cd6
commit
abf489991f
@ -32,6 +32,7 @@
|
||||
#include <common/SigUtil.hpp>
|
||||
#include "Seccomp.hpp"
|
||||
|
||||
#if DISABLE_SECCOMP == 0
|
||||
#ifndef SYS_SECCOMP
|
||||
# define SYS_SECCOMP 1
|
||||
#endif
|
||||
@ -43,7 +44,6 @@
|
||||
# error "Platform does not support seccomp filtering yet - unsafe."
|
||||
#endif
|
||||
|
||||
#if DISABLE_SECCOMP == 0
|
||||
extern "C" {
|
||||
|
||||
static void handleSysSignal(int /* signal */,
|
||||
|
Reference in New Issue
Block a user