In <stdio.h> provide only necessary types
This commit is contained in:
parent
a404165959
commit
357d7fcc6a
|
@ -58,7 +58,7 @@ typedef __gnuc_va_list va_list;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/reent.h>
|
#include <sys/reent.h>
|
||||||
#include <sys/types.h>
|
#include <sys/_types.h>
|
||||||
|
|
||||||
_BEGIN_STD_C
|
_BEGIN_STD_C
|
||||||
|
|
||||||
|
@ -76,6 +76,16 @@ typedef _fpos64_t fpos64_t;
|
||||||
#endif
|
#endif
|
||||||
#endif /* !__CYGWIN__ */
|
#endif /* !__CYGWIN__ */
|
||||||
|
|
||||||
|
#ifndef _OFF_T_DECLARED
|
||||||
|
typedef __off_t off_t;
|
||||||
|
#define _OFF_T_DECLARED
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef _SSIZE_T_DECLARED
|
||||||
|
typedef _ssize_t ssize_t;
|
||||||
|
#define _SSIZE_T_DECLARED
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <sys/stdio.h>
|
#include <sys/stdio.h>
|
||||||
|
|
||||||
#define __SLBF 0x0001 /* line buffered */
|
#define __SLBF 0x0001 /* line buffered */
|
||||||
|
|
Loading…
Reference in New Issue