mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-12-23 03:53:43 +01:00
Include <sys/mman.h> to have MAP_ANONYMOUS defined
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 <ken.werner@linaro.org>
This commit is contained in:
parent
0a26727ea2
commit
2c865b6ed3
1 changed files with 1 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue