summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2023-04-11 11:38:44 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2023-04-11 14:29:59 +0200
commitef9bb93c2a66ecd29015aad5ba527cc986625939 (patch)
treebc355c8f5c736b3a77048989c22ac524e3587e9b /scripts
parent7134c18c8071b119e7166c4f65235705fda08c23 (diff)
downloadbarebox-ef9bb93c2a66ecd29015aad5ba527cc986625939.tar.gz
scripts: common: drop unused mman.h include
<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@pengutronix.de> Link: https://lore.barebox.org/20230411093844.1297004-4-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/common.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/common.c b/scripts/common.c
index e2c53c5aef..88173bc977 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"