From 7989de3c8864bf927e5185e24a543b481400f135 Mon Sep 17 00:00:00 2001 From: Zhuo Zhi Date: Mon, 18 Nov 2024 20:51:16 +0800 Subject: [PATCH] add missing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes compile error with gcc 14: ```text glibc_2.23/mmap_overlapping_chunks.c: In function ‘main’: glibc_2.23/mmap_overlapping_chunks.c:142:9: error: implicit declaration of function ‘_exit’; did you mean ‘_Exit’? [-Wimplicit-function-declaration] 142 | _exit(0); // exit early just in case we corrupted some libraries | ^~~~~ | _Exit ``` --- glibc_2.23/mmap_overlapping_chunks.c | 1 + glibc_2.24/mmap_overlapping_chunks.c | 1 + glibc_2.27/mmap_overlapping_chunks.c | 1 + glibc_2.31/mmap_overlapping_chunks.c | 1 + glibc_2.32/mmap_overlapping_chunks.c | 1 + glibc_2.33/mmap_overlapping_chunks.c | 1 + glibc_2.34/mmap_overlapping_chunks.c | 1 + glibc_2.35/mmap_overlapping_chunks.c | 1 + glibc_2.36/mmap_overlapping_chunks.c | 1 + glibc_2.37/mmap_overlapping_chunks.c | 1 + glibc_2.38/mmap_overlapping_chunks.c | 1 + glibc_2.39/mmap_overlapping_chunks.c | 1 + 12 files changed, 12 insertions(+) diff --git a/glibc_2.23/mmap_overlapping_chunks.c b/glibc_2.23/mmap_overlapping_chunks.c index 4834958..6a2808b 100644 --- a/glibc_2.23/mmap_overlapping_chunks.c +++ b/glibc_2.23/mmap_overlapping_chunks.c @@ -1,6 +1,7 @@ #include #include #include +#include /* Technique should work on all versions of GLibC diff --git a/glibc_2.24/mmap_overlapping_chunks.c b/glibc_2.24/mmap_overlapping_chunks.c index 4834958..6a2808b 100644 --- a/glibc_2.24/mmap_overlapping_chunks.c +++ b/glibc_2.24/mmap_overlapping_chunks.c @@ -1,6 +1,7 @@ #include #include #include +#include /* Technique should work on all versions of GLibC diff --git a/glibc_2.27/mmap_overlapping_chunks.c b/glibc_2.27/mmap_overlapping_chunks.c index 4834958..6a2808b 100644 --- a/glibc_2.27/mmap_overlapping_chunks.c +++ b/glibc_2.27/mmap_overlapping_chunks.c @@ -1,6 +1,7 @@ #include #include #include +#include /* Technique should work on all versions of GLibC diff --git a/glibc_2.31/mmap_overlapping_chunks.c b/glibc_2.31/mmap_overlapping_chunks.c index 4834958..6a2808b 100644 --- a/glibc_2.31/mmap_overlapping_chunks.c +++ b/glibc_2.31/mmap_overlapping_chunks.c @@ -1,6 +1,7 @@ #include #include #include +#include /* Technique should work on all versions of GLibC diff --git a/glibc_2.32/mmap_overlapping_chunks.c b/glibc_2.32/mmap_overlapping_chunks.c index 4834958..6a2808b 100644 --- a/glibc_2.32/mmap_overlapping_chunks.c +++ b/glibc_2.32/mmap_overlapping_chunks.c @@ -1,6 +1,7 @@ #include #include #include +#include /* Technique should work on all versions of GLibC diff --git a/glibc_2.33/mmap_overlapping_chunks.c b/glibc_2.33/mmap_overlapping_chunks.c index 4834958..6a2808b 100644 --- a/glibc_2.33/mmap_overlapping_chunks.c +++ b/glibc_2.33/mmap_overlapping_chunks.c @@ -1,6 +1,7 @@ #include #include #include +#include /* Technique should work on all versions of GLibC diff --git a/glibc_2.34/mmap_overlapping_chunks.c b/glibc_2.34/mmap_overlapping_chunks.c index 4834958..6a2808b 100644 --- a/glibc_2.34/mmap_overlapping_chunks.c +++ b/glibc_2.34/mmap_overlapping_chunks.c @@ -1,6 +1,7 @@ #include #include #include +#include /* Technique should work on all versions of GLibC diff --git a/glibc_2.35/mmap_overlapping_chunks.c b/glibc_2.35/mmap_overlapping_chunks.c index 4834958..6a2808b 100644 --- a/glibc_2.35/mmap_overlapping_chunks.c +++ b/glibc_2.35/mmap_overlapping_chunks.c @@ -1,6 +1,7 @@ #include #include #include +#include /* Technique should work on all versions of GLibC diff --git a/glibc_2.36/mmap_overlapping_chunks.c b/glibc_2.36/mmap_overlapping_chunks.c index 4834958..6a2808b 100644 --- a/glibc_2.36/mmap_overlapping_chunks.c +++ b/glibc_2.36/mmap_overlapping_chunks.c @@ -1,6 +1,7 @@ #include #include #include +#include /* Technique should work on all versions of GLibC diff --git a/glibc_2.37/mmap_overlapping_chunks.c b/glibc_2.37/mmap_overlapping_chunks.c index 4834958..6a2808b 100644 --- a/glibc_2.37/mmap_overlapping_chunks.c +++ b/glibc_2.37/mmap_overlapping_chunks.c @@ -1,6 +1,7 @@ #include #include #include +#include /* Technique should work on all versions of GLibC diff --git a/glibc_2.38/mmap_overlapping_chunks.c b/glibc_2.38/mmap_overlapping_chunks.c index 4834958..6a2808b 100644 --- a/glibc_2.38/mmap_overlapping_chunks.c +++ b/glibc_2.38/mmap_overlapping_chunks.c @@ -1,6 +1,7 @@ #include #include #include +#include /* Technique should work on all versions of GLibC diff --git a/glibc_2.39/mmap_overlapping_chunks.c b/glibc_2.39/mmap_overlapping_chunks.c index 4834958..6a2808b 100644 --- a/glibc_2.39/mmap_overlapping_chunks.c +++ b/glibc_2.39/mmap_overlapping_chunks.c @@ -1,6 +1,7 @@ #include #include #include +#include /* Technique should work on all versions of GLibC