Skip to content
Snippets Groups Projects
Commit 0bd1264f authored by Dominik Maier's avatar Dominik Maier
Browse files

headers for clang-tidy

parent 49753eb2
No related branches found
No related tags found
No related merge requests found
...@@ -26,6 +26,8 @@ ...@@ -26,6 +26,8 @@
#ifndef _ANDROID_ASHMEM_H #ifndef _ANDROID_ASHMEM_H
#define _ANDROID_ASHMEM_H #define _ANDROID_ASHMEM_H
#ifdef __ANDROID__
#include <fcntl.h> #include <fcntl.h>
#include <linux/shm.h> #include <linux/shm.h>
#include <linux/ashmem.h> #include <linux/ashmem.h>
...@@ -103,5 +105,7 @@ static inline void *shmat(int __shmid, const void *__shmaddr, int __shmflg) { ...@@ -103,5 +105,7 @@ static inline void *shmat(int __shmid, const void *__shmaddr, int __shmflg) {
} }
#endif /* __ANDROID__ */
#endif #endif
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
#include <stdio.h> #include <stdio.h>
#include <stdbool.h> #include <stdbool.h>
#include "types.h"
typedef struct afl_forkserver { typedef struct afl_forkserver {
/* a program that includes afl-forkserver needs to define these */ /* a program that includes afl-forkserver needs to define these */
......
...@@ -28,6 +28,8 @@ ...@@ -28,6 +28,8 @@
#ifndef __AFL_SHAREDMEM_H #ifndef __AFL_SHAREDMEM_H
#define __AFL_SHAREDMEM_H #define __AFL_SHAREDMEM_H
#include "types.h"
typedef struct sharedmem { typedef struct sharedmem {
// extern unsigned char *trace_bits; // extern unsigned char *trace_bits;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment