aboutsummaryrefslogtreecommitdiffstats
path: root/libc/include/stdio.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/include/stdio.h')
-rw-r--r--libc/include/stdio.h13
1 files changed, 3 insertions, 10 deletions
diff --git a/libc/include/stdio.h b/libc/include/stdio.h
index ca7809234..d7c881cb4 100644
--- a/libc/include/stdio.h
+++ b/libc/include/stdio.h
@@ -41,23 +41,16 @@
#include <sys/cdefs.h>
#include <sys/_types.h>
-/* va_list and size_t must be defined by stdio.h according to Posix */
-#define __need___va_list
#include <stdarg.h>
-
-/* note that this forces stddef.h to *only* define size_t */
-#define __need_size_t
-#include <stddef.h>
-
#include <stddef.h>
#if __BSD_VISIBLE || __POSIX_VISIBLE || __XPG_VISIBLE
#include <sys/types.h> /* XXX should be removed */
#endif
-#ifndef _SIZE_T_DEFINED_
-#define _SIZE_T_DEFINED_
-typedef unsigned long size_t;
+#ifndef _SIZE_T_DEFINED_
+#define _SIZE_T_DEFINED_
+typedef unsigned int size_t;
#endif
#ifndef _SSIZE_T_DEFINED_