Added stdtypes.h
This commit is contained in:
parent
2ad0051a24
commit
dfcbc661ca
|
@ -1,3 +1,4 @@
|
|||
dir.h
|
||||
stat.h
|
||||
types.h
|
||||
stdtypes.h
|
||||
|
|
14
include/_tail_cc/sys/stdtypes.h
Normal file
14
include/_tail_cc/sys/stdtypes.h
Normal file
|
@ -0,0 +1,14 @@
|
|||
/* $Header$ */
|
||||
|
||||
/* This include file exists so that <sys/types.h> can still safely be
|
||||
included. On a SUN, this would cause problems because sometimes time_t
|
||||
and/or size_t were defined twice.
|
||||
*/
|
||||
|
||||
#ifndef __STDTYPES_H__
|
||||
#define __STDTYPES_H__
|
||||
|
||||
typedef long time_t;
|
||||
typedef long size_t;
|
||||
|
||||
#endif /* __STDTYPES_H__ */
|
|
@ -34,8 +34,9 @@ typedef u_long ino_t;
|
|||
typedef u_short ino_t;
|
||||
#endif
|
||||
typedef long swblk_t;
|
||||
typedef long size_t;
|
||||
typedef long time_t;
|
||||
|
||||
#include <sys/stdtypes.h>
|
||||
|
||||
typedef long label_t[14];
|
||||
typedef short dev_t;
|
||||
typedef long off_t;
|
||||
|
|
|
@ -34,8 +34,9 @@ typedef u_long ino_t;
|
|||
typedef u_short ino_t;
|
||||
#endif
|
||||
typedef long swblk_t;
|
||||
typedef long size_t;
|
||||
typedef long time_t;
|
||||
|
||||
#include <sys/stdtypes.h>
|
||||
|
||||
typedef long label_t[14];
|
||||
typedef short dev_t;
|
||||
typedef long off_t;
|
||||
|
|
Loading…
Reference in a new issue