OSDN Git Service

Use sys/mman.h not asm/mman.h -- we don't want kernel headers...
authorEric Andersen <andersen@codepoet.org>
Wed, 13 Jun 2001 00:42:04 +0000 (00:42 -0000)
committerEric Andersen <andersen@codepoet.org>
Wed, 13 Jun 2001 00:42:04 +0000 (00:42 -0000)
 -Erik

ldso/ldso/dl-elf.c
ldso/ldso/readelflib1.c

index 0241b5f..ae7a86a 100644 (file)
 /* 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
index 0241b5f..ae7a86a 100644 (file)
 /* 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