headers for clang-tidy
MODIFY
include/android-ashmem.h
include/android-ashmem.h
#ifndef _ANDROID_ASHMEM_H
#define _ANDROID_ASHMEM_H
+#ifdef __ANDROID__
+
#include <fcntl.h>
#include <linux/shm.h>
#include <linux/ashmem.h>
@@ -103,5 +105,7 @@ static inline void *shmat(int __shmid, const void *__shmaddr, int __shmflg) {
}
+#endif /* __ANDROID__ */
+
#endif

MODIFY
include/forkserver.h
include/forkserver.h
#include <stdio.h>
#include <stdbool.h>
+#include "types.h"
typedef struct afl_forkserver {
/* a program that includes afl-forkserver needs to define these */

MODIFY
include/sharedmem.h
include/sharedmem.h
#ifndef __AFL_SHAREDMEM_H
#define __AFL_SHAREDMEM_H
+#include "types.h"
+
typedef struct sharedmem {
// extern unsigned char *trace_bits;

headers for clang-tidy