Browse Source

Use sys/mman.h not asm/mman.h -- we don't want kernel headers...
-Erik

Eric Andersen 23 years ago
parent
commit
dfc5cd9b2e
2 changed files with 2 additions and 2 deletions
  1. 1 1
      ldso/ldso/dl-elf.c
  2. 1 1
      ldso/ldso/readelflib1.c

+ 1 - 1
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

+ 1 - 1
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