summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-06-13 00:42:04 +0000
committerEric Andersen <andersen@codepoet.org>2001-06-13 00:42:04 +0000
commitdfc5cd9b2e44333d581dfbf033ef399f5ecf8dbb (patch)
tree28f6ab42bfc7972711f05e7bcc38f8b00972a46b /ldso
parent94e4041cd3cfa0fedd775d44efc2209f53c07ad1 (diff)
Use sys/mman.h not asm/mman.h -- we don't want kernel headers...
-Erik
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