blob: eb43a9d9d5a5bf86ae598b24d7c7cb685d66f787 [file] [log] [blame]
From 01edfac216d6c7aaab3c9ee605669351223a0d01 Mon Sep 17 00:00:00 2001
From: Stephen McGruer <smcgruer@google.com>
Date: Tue, 20 Sep 2016 17:00:14 -0500
Subject: [PATCH 20/20] Fix open2k8 timespec
---
package/uclibc/uclibc-0077-fix-open2k8-timespec.patch | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 package/uclibc/uclibc-0077-fix-open2k8-timespec.patch
diff --git a/package/uclibc/uclibc-0077-fix-open2k8-timespec.patch b/package/uclibc/uclibc-0077-fix-open2k8-timespec.patch
new file mode 100644
index 0000000..2b73fb1
--- /dev/null
+++ b/package/uclibc/uclibc-0077-fix-open2k8-timespec.patch
@@ -0,0 +1,19 @@
+--- a/include/sys/stat.h 2016-02-01 07:40:56.000000000 -0800
++++ b/include/sys/stat.h 2016-09-19 02:33:24.493728529 -0700
+@@ -28,14 +28,14 @@
+ #include <bits/types.h> /* For __mode_t and __dev_t. */
+
+ #if defined __USE_XOPEN || defined __USE_XOPEN2K || defined __USE_MISC \
+- || defined __USE_ATFILE
++ || defined __USE_ATFILE || defined __USE_XOPEN2K8
+ # if defined __USE_XOPEN || defined __USE_XOPEN2K
+ # define __need_time_t
+ # endif
+-# if defined __USE_MISC || defined __USE_ATFILE
++# if defined __USE_MISC || defined __USE_ATFILE || defined __USE_XOPEN2K8
+ # define __need_timespec
+ # endif
+ # include <time.h> /* For time_t resp. timespec. */
+ #endif
+
+ #if defined __USE_XOPEN || defined __USE_XOPEN2K