Message ID | 1319704692-4464-2-git-send-email-ken.werner@linaro.org |
---|---|
State | Accepted |
Commit | 2c865b6ed3833ec591c7972f545b8ed5cadfd246 |
Headers | show |
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>
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> --- include/libunwind_i.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)