summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
Diffstat (limited to 'ldso')
-rw-r--r--ldso/ldso/dl-elf.c2
-rw-r--r--ldso/ldso/readelflib1.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ldso/ldso/dl-elf.c b/ldso/ldso/dl-elf.c
index 0241b5f9d..ae7a86a37 100644
--- a/ldso/ldso/dl-elf.c
+++ b/ldso/ldso/dl-elf.c
@@ -21,13 +21,13 @@
/* This file contains the helper routines to load an ELF sharable
library into memory and add the symbol table info to the chain. */
-#include <asm/mman.h>
#include <elf.h>
#include "linuxelf.h"
#include "string.h"
#include "hash.h"
#include "sysdep.h"
#include "syscall.h"
+#include <sys/mman.h>
#ifdef USE_CACHE
#include "../config.h"
#endif
diff --git a/ldso/ldso/readelflib1.c b/ldso/ldso/readelflib1.c
index 0241b5f9d..ae7a86a37 100644
--- a/ldso/ldso/readelflib1.c
+++ b/ldso/ldso/readelflib1.c
@@ -21,13 +21,13 @@
/* This file contains the helper routines to load an ELF sharable
library into memory and add the symbol table info to the chain. */
-#include <asm/mman.h>
#include <elf.h>
#include "linuxelf.h"
#include "string.h"
#include "hash.h"
#include "sysdep.h"
#include "syscall.h"
+#include <sys/mman.h>
#ifdef USE_CACHE
#include "../config.h"
#endif