From 49409b516cf8f8da0d7215835e7c5ed14477dd4f Mon Sep 17 00:00:00 2001 From: Jukka Laitinen Date: Wed, 30 Dec 2020 16:07:19 +0200 Subject: [PATCH] include/sys/syscall_lookup.h: Fix table for nx_mkfifo Fix compilation when CONFIG_DEV_PIPE_SIZE > 0 && CONFIG_DEV_FIFO_SIZE == 0 In this case the nx_mkfifo doesn't exist. Signed-off-by: Jukka Laitinen --- include/sys/syscall_lookup.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/sys/syscall_lookup.h b/include/sys/syscall_lookup.h index 2314908614..962f9222db 100644 --- a/include/sys/syscall_lookup.h +++ b/include/sys/syscall_lookup.h @@ -261,6 +261,9 @@ SYSCALL_LOOKUP(telldir, 1) #if defined(CONFIG_PIPES) && CONFIG_DEV_PIPE_SIZE > 0 SYSCALL_LOOKUP(nx_pipe, 3) +#endif + +#if defined(CONFIG_PIPES) && CONFIG_DEV_FIFO_SIZE > 0 SYSCALL_LOOKUP(nx_mkfifo, 3) #endif