diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2001-08-29 19:47:43 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2001-08-29 19:47:43 +0000 |
commit | 9e2a4ef876d6a0749af136d08e334adfec01f906 (patch) | |
tree | 1fb49e158ae00835d03195684ad3a04e1932ee61 /newlib/libc/include/sys/unistd.h | |
parent | 3ab7340b9408983fb49bb7addd24b92a08eb3787 (diff) | |
download | cygnal-9e2a4ef876d6a0749af136d08e334adfec01f906.tar.gz cygnal-9e2a4ef876d6a0749af136d08e334adfec01f906.tar.bz2 cygnal-9e2a4ef876d6a0749af136d08e334adfec01f906.zip |
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.h | 1 |
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> |