diff options
author | van Hauser <vh@thc.org> | 2021-04-20 11:38:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-20 11:38:09 +0200 |
commit | 48cef3c74727407f82c44800d382737265fe65b4 (patch) | |
tree | 07338ec82703c20cc1f78a235ac3ad16e2465bf1 /utils/afl_network_proxy | |
parent | f7179e44f6c46fef318b6413d9c00693c1af4602 (diff) | |
parent | 3b5fa3632b0e482b2915709d7fbec827e1d997b9 (diff) | |
download | afl++-48cef3c74727407f82c44800d382737265fe65b4.tar.gz |
Merge pull request #871 from AFLplusplus/dev
push to stable
Diffstat (limited to 'utils/afl_network_proxy')
-rw-r--r-- | utils/afl_network_proxy/afl-network-server.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/utils/afl_network_proxy/afl-network-server.c b/utils/afl_network_proxy/afl-network-server.c index 0dfae658..60f174ee 100644 --- a/utils/afl_network_proxy/afl-network-server.c +++ b/utils/afl_network_proxy/afl-network-server.c @@ -45,7 +45,6 @@ #include <sys/wait.h> #include <sys/time.h> -#include <sys/shm.h> #include <sys/stat.h> #include <sys/types.h> #include <sys/resource.h> @@ -53,7 +52,9 @@ #include <netinet/ip6.h> #include <arpa/inet.h> #include <sys/mman.h> -#include <sys/shm.h> +#ifndef USEMMAP + #include <sys/shm.h> +#endif #include <sys/socket.h> #include <netdb.h> |