add ifdefs to make service/instance.c compile on non-linux systems
[project/procd.git] / jail / seccomp.h
index 45eede7115539978705d7be710d8d4be9b1b1f69..603281297234813be3f6e7325c982bdf492ae46e 100644 (file)
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  */
+#ifndef _JAIL_SECCOMP_H_
+#define _JAIL_SECCOMP_H_
+
+#include <stdio.h>
+#include <syslog.h>
 
 #define INFO(fmt, ...) do { \
        syslog(LOG_INFO,"preload-seccomp: "fmt, ## __VA_ARGS__); \
@@ -17,3 +22,5 @@
        } while (0)
 
 int install_syscall_filter(const char *argv, const char *file);
+
+#endif