yuezonghe | 824eb0c | 2024-06-27 02:32:26 -0700 | [diff] [blame^] | 1 | /* vi: set sw=4 ts=4: */ |
| 2 | /* |
| 3 | * Common header file for uClibc syscalls |
| 4 | * |
| 5 | * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org> |
| 6 | * |
| 7 | * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. |
| 8 | */ |
| 9 | |
| 10 | #define _LARGEFILE64_SOURCE |
| 11 | #include <features.h> |
| 12 | #include <errno.h> |
| 13 | #include <sys/types.h> |
| 14 | #include <sys/syscall.h> |
| 15 | #include <endian.h> |
| 16 | |
| 17 | #undef __OPTIMIZE__ |
| 18 | /* We absolutely do _NOT_ want interfaces silently |
| 19 | * being renamed under us or very bad things will happen... */ |
| 20 | #ifdef __USE_FILE_OFFSET64 |
| 21 | # undef __USE_FILE_OFFSET64 |
| 22 | #endif |
| 23 | |
| 24 | #include <bits/kernel_types.h> |