summaryrefslogtreecommitdiff
path: root/src/conf/sysconf.c
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-04-11 23:22:33 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-04-11 23:22:33 -0500
commit6f592a7812de3190f567174bbb4baa40790831dd (patch)
tree2c6e6e288b4a6fcf26c3ec294bd167f9a7ca2b85 /src/conf/sysconf.c
parentae2a01da2e388535da243b3d974aef74a3c06ae0 (diff)
downloadmusl-6f592a7812de3190f567174bbb4baa40790831dd.tar.gz
musl-6f592a7812de3190f567174bbb4baa40790831dd.tar.bz2
musl-6f592a7812de3190f567174bbb4baa40790831dd.tar.xz
musl-6f592a7812de3190f567174bbb4baa40790831dd.zip
sysconf: Add _SC_XOPEN_UUCP
We definitely don't /support/ UUCP, so return -1 for it. But this value is required to be present in <unistd.h>.
Diffstat (limited to 'src/conf/sysconf.c')
-rw-r--r--src/conf/sysconf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/conf/sysconf.c b/src/conf/sysconf.c
index 9ce330a5..58830a09 100644
--- a/src/conf/sysconf.c
+++ b/src/conf/sysconf.c
@@ -164,6 +164,7 @@ long sysconf(int name)
[_SC_XOPEN_STREAMS] = JT_ZERO,
[_SC_THREAD_ROBUST_PRIO_INHERIT] = -1,
[_SC_THREAD_ROBUST_PRIO_PROTECT] = -1,
+ [_SC_XOPEN_UUCP] = -1,
};
if (name >= sizeof(values)/sizeof(values[0]) || !values[name]) {