diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-04-16 23:08:04 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-04-16 23:08:04 -0500 |
commit | d3f0fcf2e487273f967d8e61db34cca1e1a12452 (patch) | |
tree | 44b59143ed2c10f85fc296fb3dfd3d3ebab74e4c /system/musl/0003-pathconf-add-_PC_TIMESTAMP_RESOLUTION.patch | |
parent | 8cffe91358997061849dc3fac861bd7a4631f3cc (diff) | |
download | packages-d3f0fcf2e487273f967d8e61db34cca1e1a12452.tar.gz packages-d3f0fcf2e487273f967d8e61db34cca1e1a12452.tar.bz2 packages-d3f0fcf2e487273f967d8e61db34cca1e1a12452.tar.xz packages-d3f0fcf2e487273f967d8e61db34cca1e1a12452.zip |
system/musl: not-new package
Diffstat (limited to 'system/musl/0003-pathconf-add-_PC_TIMESTAMP_RESOLUTION.patch')
-rw-r--r-- | system/musl/0003-pathconf-add-_PC_TIMESTAMP_RESOLUTION.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/system/musl/0003-pathconf-add-_PC_TIMESTAMP_RESOLUTION.patch b/system/musl/0003-pathconf-add-_PC_TIMESTAMP_RESOLUTION.patch new file mode 100644 index 000000000..33b0d2379 --- /dev/null +++ b/system/musl/0003-pathconf-add-_PC_TIMESTAMP_RESOLUTION.patch @@ -0,0 +1,29 @@ +From da7bab19d59a0ea50e23371462f688329cd6c1a7 Mon Sep 17 00:00:00 2001 +From: "A. Wilcox" <AWilcox@Wilcox-Tech.com> +Date: Wed, 11 Apr 2018 23:43:19 -0500 +Subject: [PATCH 3/3] pathconf: add _PC_TIMESTAMP_RESOLUTION + +Right now, this is a worst-case assumption; some kernels may actually +have a value of 100000 here (100 Hz timers). This is considered the +easiest implementation. + +This is required to be present in <unistd.h>. +--- + include/unistd.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/include/unistd.h b/include/unistd.h +index 68686dfd..1bdd3292 100644 +--- a/include/unistd.h ++++ b/include/unistd.h +@@ -274,6 +274,7 @@ int eaccess(const char *, int); + #define _PC_ALLOC_SIZE_MIN 18 + #define _PC_SYMLINK_MAX 19 + #define _PC_2_SYMLINKS 20 ++#define _PC_TIMESTAMP_RESOLUTION 21 + + #define _SC_ARG_MAX 0 + #define _SC_CHILD_MAX 1 +-- +2.15.0 + |