diff options
Diffstat (limited to 'libc/sysdeps/linux/common')
-rw-r--r-- | libc/sysdeps/linux/common/_lfs_64.h | 29 | ||||
-rw-r--r-- | libc/sysdeps/linux/common/creat64.c | 2 | ||||
-rw-r--r-- | libc/sysdeps/linux/common/getrlimit64.c | 2 | ||||
-rw-r--r-- | libc/sysdeps/linux/common/mmap64.c | 2 | ||||
-rw-r--r-- | libc/sysdeps/linux/common/setrlimit64.c | 2 |
5 files changed, 4 insertions, 33 deletions
diff --git a/libc/sysdeps/linux/common/_lfs_64.h b/libc/sysdeps/linux/common/_lfs_64.h deleted file mode 100644 index 2d017b44e..000000000 --- a/libc/sysdeps/linux/common/_lfs_64.h +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org> - * - * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. - */ -#include <features.h> - -#ifdef __UCLIBC_HAS_LFS__ - -#if defined _FILE_OFFSET_BITS && _FILE_OFFSET_BITS != 64 -#undef _FILE_OFFSET_BITS -#define _FILE_OFFSET_BITS 64 -#endif - -#ifndef __USE_LARGEFILE64 -# define __USE_LARGEFILE64 1 -#endif - -/* We absolutely do _NOT_ want interfaces silently - * * renamed under us or very bad things will happen... */ -#ifdef __USE_FILE_OFFSET64 -# undef __USE_FILE_OFFSET64 -#endif - -#else - -# error Don't include this header in files not built when LFS is disabled - -#endif diff --git a/libc/sysdeps/linux/common/creat64.c b/libc/sysdeps/linux/common/creat64.c index 3a176aa60..c1f250832 100644 --- a/libc/sysdeps/linux/common/creat64.c +++ b/libc/sysdeps/linux/common/creat64.c @@ -16,7 +16,7 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ -#include "_lfs_64.h" +#include <_lfs_64.h> #ifdef __UCLIBC_HAS_LFS__ #include <fcntl.h> diff --git a/libc/sysdeps/linux/common/getrlimit64.c b/libc/sysdeps/linux/common/getrlimit64.c index 8280cb775..ca7aa7310 100644 --- a/libc/sysdeps/linux/common/getrlimit64.c +++ b/libc/sysdeps/linux/common/getrlimit64.c @@ -16,7 +16,7 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ -#include "_lfs_64.h" +#include <_lfs_64.h> #include <sys/types.h> #include <sys/resource.h> diff --git a/libc/sysdeps/linux/common/mmap64.c b/libc/sysdeps/linux/common/mmap64.c index a0e04d5b1..2cf200dc9 100644 --- a/libc/sysdeps/linux/common/mmap64.c +++ b/libc/sysdeps/linux/common/mmap64.c @@ -5,7 +5,7 @@ */ /* Massivly hacked up for uClibc by Erik Andersen */ -#include "_lfs_64.h" +#include <_lfs_64.h> #ifdef __UCLIBC_HAS_LFS__ diff --git a/libc/sysdeps/linux/common/setrlimit64.c b/libc/sysdeps/linux/common/setrlimit64.c index 14514b813..90b8eebd7 100644 --- a/libc/sysdeps/linux/common/setrlimit64.c +++ b/libc/sysdeps/linux/common/setrlimit64.c @@ -16,7 +16,7 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ -#include "_lfs_64.h" +#include <_lfs_64.h> #include <sys/types.h> #include <sys/resource.h> |