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:
authorJeff Johnston <jjohnstn@redhat.com>2001-08-29 23:47:43 +0400
committerJeff Johnston <jjohnstn@redhat.com>2001-08-29 23:47:43 +0400
commit9e2a4ef876d6a0749af136d08e334adfec01f906 (patch)
tree1fb49e158ae00835d03195684ad3a04e1932ee61 /newlib/libc/include/sys/unistd.h
parent3ab7340b9408983fb49bb7addd24b92a08eb3787 (diff)
2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/sys/reent.h: Add include of <sys/_types.h>. No longer include time.h. Add struct __tm to use for _localtime_buf in the reentrant structure. Add a _NULL definition to use in initializing the reentrant struct. * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in <sys/_types.h>. * libc/include/sys/unistd.h: Include <sys/_types.h>. * libc/time/lcltime.c (localtime): Cast the reentrant struct _localtime_buf to be struct tm *.
Diffstat (limited to 'newlib/libc/include/sys/unistd.h')
-rw-r--r--newlib/libc/include/sys/unistd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/newlib/libc/include/sys/unistd.h b/newlib/libc/include/sys/unistd.h
index e80c942c9..efd8ebb7b 100644
--- a/newlib/libc/include/sys/unistd.h
+++ b/newlib/libc/include/sys/unistd.h
@@ -7,6 +7,7 @@ extern "C" {
#include <_ansi.h>
#include <sys/types.h>
+#include <sys/_types.h>
#define __need_size_t
#define __need_ptrdiff_t
#include <stddef.h>