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 <[email protected]> --- 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 mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/libunwind-devel
