chiark / gitweb /
seccomp-util.h: make sure seccomp-util.h can be included alone
authorLennart Poettering <lennart@poettering.net>
Fri, 12 Dec 2014 01:35:39 +0000 (02:35 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 12 Dec 2014 12:35:32 +0000 (13:35 +0100)
src/shared/missing.h
src/shared/seccomp-util.h

index 478988c8a41d3850ce59f5e9bc75644ee792228d..f226197555facdbd7a98e4bc705587860b243a66 100644 (file)
 #include <libaudit.h>
 #endif
 
 #include <libaudit.h>
 #endif
 
-#include "macro.h"
-
 #ifdef ARCH_MIPS
 #include <asm/sgidefs.h>
 #endif
 
 #ifdef ARCH_MIPS
 #include <asm/sgidefs.h>
 #endif
 
+#include "macro.h"
+
 #ifndef RLIMIT_RTTIME
 #define RLIMIT_RTTIME 15
 #endif
 #ifndef RLIMIT_RTTIME
 #define RLIMIT_RTTIME 15
 #endif
index 9a51a85b49c0ba86af8a3a4b13a02c1d02b72e1a..60d97154ec282edfc295aba514594d75dd4d2484 100644 (file)
@@ -21,6 +21,7 @@
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
 ***/
 
   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);
 
 const char* seccomp_arch_to_string(uint32_t c);
 int seccomp_arch_from_string(const char *n, uint32_t *ret);