about summary refs log tree commit diff
path: root/frida_mode/src/seccomp/seccomp_callback.c
diff options
context:
space:
mode:
authorjon <jon@jonathans-air.lan>2021-09-01 20:22:32 +0100
committerYour Name <you@example.com>2021-09-01 20:30:29 +0100
commit5485ea3cc785866d6589987ad99f885bb1521047 (patch)
tree88b605eef54591ee2880ab21961f74cc343dec11 /frida_mode/src/seccomp/seccomp_callback.c
parent9586c77174bea63e25159b52848be87918966b03 (diff)
downloadafl++-5485ea3cc785866d6589987ad99f885bb1521047.tar.gz
Fixes to make seccomp compile on OSX
Diffstat (limited to 'frida_mode/src/seccomp/seccomp_callback.c')
-rw-r--r--frida_mode/src/seccomp/seccomp_callback.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/frida_mode/src/seccomp/seccomp_callback.c b/frida_mode/src/seccomp/seccomp_callback.c
index ef069805..4af2ed0c 100644
--- a/frida_mode/src/seccomp/seccomp_callback.c
+++ b/frida_mode/src/seccomp/seccomp_callback.c
@@ -1,11 +1,11 @@
-#include <execinfo.h>
-#include <fcntl.h>
+#ifndef __APPLE__
 
-#include "seccomp.h"
+  #include <execinfo.h>
+  #include <fcntl.h>
 
-#include "debug.h"
+  #include "seccomp.h"
 
-#ifndef __APPLE__
+  #include "debug.h"
 
 static void seccomp_callback_filter(struct seccomp_notif *     req,
                                     struct seccomp_notif_resp *resp,