Added stdtypes.h

This commit is contained in:
ceriel 1991-09-18 09:43:45 +00:00
parent 2ad0051a24
commit dfcbc661ca
4 changed files with 21 additions and 4 deletions

View file

@ -1,3 +1,4 @@
dir.h
stat.h
types.h
stdtypes.h

View 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__ */

View file

@ -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;

View file

@ -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;