Fix Haiku references, no <sys/syscall.h> and missing defines for USEMMAP
MODIFY
instrumentation/afl-compiler-rt.o.c
instrumentation/afl-compiler-rt.o.c
#include <errno.h>
#include <sys/mman.h>
-#include <sys/syscall.h>
#ifndef __HAIKU__
+ #include <sys/syscall.h>
+#endif
+#ifndef USEMMAP
#include <sys/shm.h>
#endif
#include <sys/wait.h>

MODIFY
utils/afl_network_proxy/afl-network-server.c
utils/afl_network_proxy/afl-network-server.c
#include <sys/wait.h>
#include <sys/time.h>
-#include <sys/shm.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/resource.h>
#include <netinet/ip6.h>
#include <arpa/inet.h>
#include <sys/mman.h>
+#ifndef USEMMAP
#include <sys/shm.h>
+#endif
#include <sys/socket.h>
#include <netdb.h>

Fix Haiku references, no <sys/syscall.h> and missing defines for USEMMAP