summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/shared/missing.h4
-rw-r--r--src/shared/seccomp-util.h1
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);