aboutsummaryrefslogtreecommitdiff
path: root/posix/unistd.h
diff options
context:
space:
mode:
Diffstat (limited to 'posix/unistd.h')
-rw-r--r--posix/unistd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/posix/unistd.h b/posix/unistd.h
index 3b7cb0a0fb..2147400d66 100644
--- a/posix/unistd.h
+++ b/posix/unistd.h
@@ -128,7 +128,8 @@ __BEGIN_DECLS
#include <gnu/types.h>
#ifndef ssize_t
-#define ssize_t __ssize_t
+typedef __ssize_t ssize_t;
+#define ssize_t ssize_t
#endif
#define __need_size_t