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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/newlib/libc/include/sys/_types.h b/newlib/libc/include/sys/_types.h
index c498f7c8f..d3f68cef5 100644
--- a/newlib/libc/include/sys/_types.h
+++ b/newlib/libc/include/sys/_types.h
@@ -9,6 +9,8 @@
#ifndef _SYS__TYPES_H
#define _SYS__TYPES_H
+#include <sys/lock.h>
+
typedef long _off_t;
__extension__ typedef long long _off64_t;
@@ -32,7 +34,7 @@ typedef struct
} __value; /* Value so far. */
} _mbstate_t;
-typedef int _flock_t;
+typedef _LOCK_RECURSIVE_T _flock_t;
/* Iconv descriptor type */
typedef void *_iconv_t;