diff options
-rw-r--r-- | include/unistd.h | 1 | ||||
-rw-r--r-- | src/conf/sysconf.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/include/unistd.h b/include/unistd.h index 5bc7f798..cfd91279 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -427,6 +427,7 @@ pid_t gettid(void); #define _SC_THREAD_ROBUST_PRIO_PROTECT 248 #define _SC_MINSIGSTKSZ 249 #define _SC_SIGSTKSZ 250 +#define _SC_XOPEN_UUCP 251 #define _CS_PATH 0 #define _CS_POSIX_V6_WIDTH_RESTRICTED_ENVS 1 diff --git a/src/conf/sysconf.c b/src/conf/sysconf.c index 60d3e745..20d91de7 100644 --- a/src/conf/sysconf.c +++ b/src/conf/sysconf.c @@ -168,9 +168,9 @@ long sysconf(int name) [_SC_XOPEN_STREAMS] = JT_ZERO, [_SC_THREAD_ROBUST_PRIO_INHERIT] = -1, [_SC_THREAD_ROBUST_PRIO_PROTECT] = -1, - [_SC_MINSIGSTKSZ] = JT_MINSIGSTKSZ, [_SC_SIGSTKSZ] = JT_SIGSTKSZ, + [_SC_XOPEN_UUCP] = -1, }; if (name >= sizeof(values)/sizeof(values[0]) || !values[name]) { |