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