<sys/mman.h> is for mmap use of which there is none in scripts/common.c. Drop it. This has the additional benefit that the file is now compilable with x86_64-w64-mingw32-gcc. Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> --- scripts/common.c | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/common.c b/scripts/common.c index e2c53c5aef71..88173bc9772a 100644 --- a/scripts/common.c +++ b/scripts/common.c @@ -9,7 +9,6 @@ #include <string.h> #include <errno.h> #include <stdarg.h> -#include <sys/mman.h> #include "common.h" -- 2.39.2