diff options
Diffstat (limited to 'libc')
| -rw-r--r-- | libc/unistd/sysconf.c | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/libc/unistd/sysconf.c b/libc/unistd/sysconf.c index f595b4173..21a373af0 100644 --- a/libc/unistd/sysconf.c +++ b/libc/unistd/sysconf.c @@ -884,6 +884,7 @@ long int sysconf(int name)        RETURN_NEG_1;  #endif +#ifdef __NR_clock_getres      case _SC_MONOTONIC_CLOCK:        /* Check using the clock_getres system call.  */        if (clock_getres(CLOCK_MONOTONIC, NULL) >= 0) @@ -891,5 +892,6 @@ long int sysconf(int name)        RETURN_NEG_1;      } +#endif  }  libc_hidden_def(sysconf) | 
