summaryrefslogtreecommitdiffstats
path: root/include/strings.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/strings.h')
-rw-r--r--include/strings.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/strings.h b/include/strings.h
index bc989cb..cb77938 100644
--- a/include/strings.h
+++ b/include/strings.h
@@ -30,11 +30,11 @@
#define _STRINGS_H_
#include <sys/cdefs.h>
-#include <machine/ansi.h>
+#include <sys/_types.h>
-#ifdef _BSD_SIZE_T_
-typedef _BSD_SIZE_T_ size_t;
-#undef _BSD_SIZE_T_
+#ifndef _SIZE_T_DECLARED
+typedef __size_t size_t;
+#define _SIZE_T_DECLARED
#endif
__BEGIN_DECLS
OpenPOWER on IntegriCloud