kernel_stat.h 666 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
  3. *
  4. * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  5. */
  6. #ifndef _BITS_STAT_STRUCT_H
  7. #define _BITS_STAT_STRUCT_H
  8. #include <sys/stat.h>
  9. /*
  10. * The stat structure defined in
  11. * libc/sysdeps/linux/common-generic/bits/stat.h
  12. * is the same as the kernel one for new architectures
  13. *
  14. * For the common-generic ABI we really don't need this file at all
  15. * However that requires more #ifndef in relevant wrappers,
  16. * further uglifying them
  17. */
  18. #if defined __UCLIBC_HAS_LFS__
  19. #define kernel_stat64 stat64
  20. #else
  21. #define kernel_stat64 stat
  22. #endif
  23. #endif /* _BITS_STAT_STRUCT_H */