From: Jan Engelhardt Date: 2016-02-24 13:51:09.385315514 +0100 Fix a build error when your /usr/include/linux/seccomp.h exists, but is "old enough". (Like openSUSE 13.2 / linux-glibc-devel 3.16). --- src/system.h | 7 +++++++ 1 file changed, 7 insertions(+) Index: libseccomp/src/system.h =================================================================== --- libseccomp.orig/src/system.h +++ libseccomp/src/system.h @@ -37,6 +37,13 @@ struct db_filter_col; /* system header file */ #include +#ifndef SECCOMP_SET_MODE_STRICT +# define SECCOMP_SET_MODE_STRICT 0 +#endif +#ifndef SECCOMP_SET_MODE_FILTER +# define SECCOMP_SET_MODE_FILTER 1 +#endif + #else /* NOTE: the definitions below were taken from the Linux Kernel sources */