seccomp-util.h: make sure seccomp-util.h can be included alone

This commit is contained in:
Lennart Poettering
2014-12-12 13:35:32 +01:00
parent db594aef54
commit a60e9f7fc8
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -40,12 +40,12 @@
#include <libaudit.h>
#endif
#include "macro.h"
#ifdef ARCH_MIPS
#include <asm/sgidefs.h>
#endif
#include "macro.h"
#ifndef RLIMIT_RTTIME
#define RLIMIT_RTTIME 15
#endif
+1
View File
@@ -21,6 +21,7 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
#include <seccomp.h>
const char* seccomp_arch_to_string(uint32_t c);
int seccomp_arch_from_string(const char *n, uint32_t *ret);