Commit d5030814 authored by Sebastian Ramacher's avatar Sebastian Ramacher

Rename to seccomp-filters

parent 6f14dfb9
......@@ -91,7 +91,7 @@ endif
if get_option('enable-seccomp') and seccomp.found()
build_dependencies += seccomp
defines += '-DWITH_SECCOMP'
additional_sources += files('zathura/libsec.c')
additional_sources += files('zathura/seccomp-filters.c')
endif
# generate version header file
......
......@@ -15,7 +15,7 @@
#include "render.h"
#ifdef WITH_SECCOMP
#include "libsec.h"
#include "seccomp-filters.h"
#endif
struct zathura_link_s {
......
......@@ -18,9 +18,8 @@
#ifdef WITH_SYNCTEX
#include "synctex.h"
#endif
#ifdef WITH_SECCOMP
#include "libsec.h"
#include "seccomp-filters.h"
#endif
/* Init locale */
......
#include "libsec.h"
#include "seccomp-filters.h"
#include <stdio.h>
#ifdef WITH_SECCOMP
......
#ifndef SECCOMP_H
#define SECCOMP_H
#ifndef ZATHURA_SECCOMP_FILTERS_H
#define ZATHURA_SECCOMP_FILTERS_H
/* basic filter */
/* this mode allows normal use */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment