From: Lennart Poettering Date: Fri, 12 Dec 2014 01:35:39 +0000 (+0100) Subject: seccomp-util.h: make sure seccomp-util.h can be included alone X-Git-Tag: v219~1037 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=a60e9f7fc81558345c59bf203ace357223f208ef;hp=db594aef549b1376ea80030bd0966ed872eac01e seccomp-util.h: make sure seccomp-util.h can be included alone --- diff --git a/src/shared/missing.h b/src/shared/missing.h index 478988c8a..f22619755 100644 --- a/src/shared/missing.h +++ b/src/shared/missing.h @@ -40,12 +40,12 @@ #include #endif -#include "macro.h" - #ifdef ARCH_MIPS #include #endif +#include "macro.h" + #ifndef RLIMIT_RTTIME #define RLIMIT_RTTIME 15 #endif diff --git a/src/shared/seccomp-util.h b/src/shared/seccomp-util.h index 9a51a85b4..60d97154e 100644 --- a/src/shared/seccomp-util.h +++ b/src/shared/seccomp-util.h @@ -21,6 +21,7 @@ along with systemd; If not, see . ***/ +#include const char* seccomp_arch_to_string(uint32_t c); int seccomp_arch_from_string(const char *n, uint32_t *ret);