libunwind-devel
[Top][All Lists]
Advanced

[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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]