diff options
Diffstat (limited to 'instrumentation/afl-llvm-common.h')
-rw-r--r-- | instrumentation/afl-llvm-common.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/instrumentation/afl-llvm-common.h b/instrumentation/afl-llvm-common.h index 6b628d64..98c4c7c9 100644 --- a/instrumentation/afl-llvm-common.h +++ b/instrumentation/afl-llvm-common.h @@ -8,7 +8,13 @@ #include <list> #include <string> #include <fstream> + +#ifdef __has_include +#if __has_include(<optional>) #include <optional> +#endif +#endif + #include <sys/time.h> #include "llvm/Config/llvm-config.h" |