Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/include/sys/types.h')
-rw-r--r--newlib/libc/include/sys/types.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/newlib/libc/include/sys/types.h b/newlib/libc/include/sys/types.h
index 13e12a9df..c562a23b4 100644
--- a/newlib/libc/include/sys/types.h
+++ b/newlib/libc/include/sys/types.h
@@ -18,6 +18,9 @@
#ifndef _SYS_TYPES_H
#define _SYS_TYPES_H
+#include <_ansi.h>
+#include <sys/_types.h>
+
#if defined (_WIN32) || defined (__CYGWIN__)
#define __MS_types__
#endif
@@ -158,7 +161,7 @@ typedef unsigned short gid_t;
typedef int pid_t;
typedef long key_t;
-typedef long ssize_t;
+typedef _ssize_t ssize_t;
#ifdef __MS_types__
typedef char * addr_t;