[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Libunwind-devel] [PATCH 1/6] Include <sys/mman.h> to have MAP_ANONYMOUS
From: |
Ken Werner |
Subject: |
[Libunwind-devel] [PATCH 1/6] Include <sys/mman.h> to have MAP_ANONYMOUS defined |
Date: |
Thu, 27 Oct 2011 10:38:07 +0200 |
This change prevents libunwind_i.h from using a self-defined MAP_ANONYMOUS and
therefore avoids collisions in case the system header gets pulled in later.
Signed-off-by: Ken Werner <address@hidden>
---
include/libunwind_i.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/libunwind_i.h b/include/libunwind_i.h
index d7353d1..6bbeb3e 100644
--- a/include/libunwind_i.h
+++ b/include/libunwind_i.h
@@ -53,6 +53,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. */
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <sys/mman.h>
#if defined(HAVE_ENDIAN_H)
# include <endian.h>
--
1.7.5.4
- [Libunwind-devel] [PATCH 0/6] Enhance portability of libuwind, Ken Werner, 2011/10/27
- [Libunwind-devel] [PATCH 1/6] Include <sys/mman.h> to have MAP_ANONYMOUS defined,
Ken Werner <=
- [Libunwind-devel] [PATCH 5/6] Define GNU and processor specific values for the Phdr p_type field, Ken Werner, 2011/10/27
- [Libunwind-devel] [PATCH 6/6] Add missing <signal.h> include directive, Ken Werner, 2011/10/27
- [Libunwind-devel] [PATCH 2/6] UNW_REMOTE_ONLY fixes, Ken Werner, 2011/10/27
- [Libunwind-devel] [PATCH 4/6] [ARM] Add support for systems that don't support ucontext.h, Ken Werner, 2011/10/27
- [Libunwind-devel] [PATCH 3/6] Prevent the use of struct dl_phdr_info outside of dl_iterate_phdr, Ken Werner, 2011/10/27