syscalls.h 585 B

123456789101112131415161718192021222324
  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. #define _LARGEFILE64_SOURCE
  10. #include <features.h>
  11. #include <errno.h>
  12. #include <sys/types.h>
  13. #include <sys/syscall.h>
  14. #include <endian.h>
  15. #undef __OPTIMIZE__
  16. /* We absolutely do _NOT_ want interfaces silently
  17. * being renamed under us or very bad things will happen... */
  18. #ifdef __USE_FILE_OFFSET64
  19. # undef __USE_FILE_OFFSET64
  20. #endif
  21. #include <bits/kernel_types.h>