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:
Rene Engelhard
2018-03-03 01:23:52 +01:00
committed by Michael Meeks
parent 4c07c11cd6
commit abf489991f

View File

@ -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 */,