summaryrefslogtreecommitdiffstats
path: root/nuttx/syscall/stub_lookup.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/syscall/stub_lookup.h')
-rw-r--r--nuttx/syscall/stub_lookup.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/nuttx/syscall/stub_lookup.h b/nuttx/syscall/stub_lookup.h
index f9b33938b8..16792aefce 100644
--- a/nuttx/syscall/stub_lookup.h
+++ b/nuttx/syscall/stub_lookup.h
@@ -107,6 +107,9 @@ STUB_LOOKUP(3, STUB_up_assert_code) /* SYS_up_assert_code */
STUB_LOOKUP(2, STUB_clock_gettime) /* SYS_clock_gettime */
STUB_LOOKUP(2, STUB_clock_settime) /* SYS_clock_settime */
STUB_LOOKUP(2, STUB_gettimeofday) /* SYS_gettimeofday */
+# ifdef CONFIG_UPTIME
+ STUB_LOOKUP(0, STUB_clock_uptime) /* SYS_clock_uptime */
+# endif
#endif
/* The following are defined only if POSIX timers are supported */