summaryrefslogtreecommitdiff
path: root/include/vis.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/vis.h')
-rw-r--r--include/vis.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/vis.h b/include/vis.h
index f630db7290b9..d4134dbee474 100644
--- a/include/vis.h
+++ b/include/vis.h
@@ -37,11 +37,11 @@
#ifndef _VIS_H_
#define _VIS_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
/*