mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-15 03:18:07 +00:00
13 lines
260 B
Diff
13 lines
260 B
Diff
--- a/util/memfd.c
|
|
+++ b/util/memfd.c
|
|
@@ -31,9 +31,7 @@
|
|
|
|
#include "qemu/memfd.h"
|
|
|
|
-#ifdef CONFIG_MEMFD
|
|
-#include <sys/memfd.h>
|
|
-#elif defined CONFIG_LINUX
|
|
+#if defined CONFIG_LINUX && !defined CONFIG_MEMFD
|
|
#include <sys/syscall.h>
|
|
#include <asm/unistd.h>
|