diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-12-12 02:35:39 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-12-12 13:35:32 +0100 |
commit | a60e9f7fc81558345c59bf203ace357223f208ef (patch) | |
tree | 3a786198b128694287069e3418bff600aa8654fe /src | |
parent | db594aef549b1376ea80030bd0966ed872eac01e (diff) |
seccomp-util.h: make sure seccomp-util.h can be included alone
Diffstat (limited to 'src')
-rw-r--r-- | src/shared/missing.h | 4 | ||||
-rw-r--r-- | src/shared/seccomp-util.h | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/shared/missing.h b/src/shared/missing.h index 478988c8a4..f226197555 100644 --- a/src/shared/missing.h +++ b/src/shared/missing.h @@ -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 diff --git a/src/shared/seccomp-util.h b/src/shared/seccomp-util.h index 9a51a85b49..60d97154ec 100644 --- a/src/shared/seccomp-util.h +++ b/src/shared/seccomp-util.h @@ -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); |