diff options
| author | van Hauser <vh@thc.org> | 2021-09-02 14:21:24 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-02 14:21:24 +0200 |
| commit | 6d6353d917949813b9f70751e921bbb132b52948 (patch) | |
| tree | 88b605eef54591ee2880ab21961f74cc343dec11 /frida_mode/src/seccomp/seccomp_socket.c | |
| parent | d4a8a9df699aa018755f4948e2add508be44b8b2 (diff) | |
| parent | 5485ea3cc785866d6589987ad99f885bb1521047 (diff) | |
| download | afl++-6d6353d917949813b9f70751e921bbb132b52948.tar.gz | |
Merge pull request #1085 from WorksButNotTested/seccomp
Fixes to build on Ubuntu 18.04
Diffstat (limited to 'frida_mode/src/seccomp/seccomp_socket.c')
| -rw-r--r-- | frida_mode/src/seccomp/seccomp_socket.c | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/frida_mode/src/seccomp/seccomp_socket.c b/frida_mode/src/seccomp/seccomp_socket.c index ca42e158..fae95805 100644 --- a/frida_mode/src/seccomp/seccomp_socket.c +++ b/frida_mode/src/seccomp/seccomp_socket.c @@ -1,11 +1,13 @@ -#include <stdio.h> -#include <string.h> -#include <sys/socket.h> -#include <unistd.h> +#ifndef __APPLE__ -#include "debug.h" + #include <stdio.h> + #include <string.h> + #include <sys/socket.h> + #include <unistd.h> -#include "seccomp.h" + #include "debug.h" + + #include "seccomp.h" union cmsg { @@ -119,3 +121,5 @@ int seccomp_socket_recv(int sockfd) { } +#endif + |
