summaryrefslogtreecommitdiff
path: root/include/strings.h
diff options
context:
space:
mode:
authorMike Barcroft <mike@FreeBSD.org>2002-08-21 16:20:02 +0000
committerMike Barcroft <mike@FreeBSD.org>2002-08-21 16:20:02 +0000
commitabbd8902334e8c6409384593b4a2c81f939b47b4 (patch)
tree7e9e16e835d265de592c113ee6c5d85f9be039cb /include/strings.h
parent9884a53c1a3e4753e347c793df6af4bd0298eab2 (diff)
Notes
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 bc989cb67d42..cb7793803106 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