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/sys')
-rw-r--r--newlib/libc/sys/linux/sys/_types.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/newlib/libc/sys/linux/sys/_types.h b/newlib/libc/sys/linux/sys/_types.h
index 15ccf1061..994df899a 100644
--- a/newlib/libc/sys/linux/sys/_types.h
+++ b/newlib/libc/sys/linux/sys/_types.h
@@ -32,7 +32,7 @@ typedef struct
} __value; /* Value so far. */
} _mbstate_t;
-struct __flock_t_tmp;
+struct __flock_mutex_t_tmp;
typedef struct
{
int __a;
@@ -43,7 +43,9 @@ typedef struct
int __c2;
} __c;
int __d;
- struct __flock_t_tmp * __e;
-} _flock_t;
+ struct __flock_mutex_t_tmp * __e;
+} __flock_mutex_t;
+
+typedef struct { __flock_mutex_t mutex; } _flock_t;
#endif /* _SYS__TYPES_H */