diff options
Diffstat (limited to 'nuttx/fs/fs_dup.c')
-rw-r--r-- | nuttx/fs/fs_dup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/fs/fs_dup.c b/nuttx/fs/fs_dup.c index 1a012903c..efa8f56ba 100644 --- a/nuttx/fs/fs_dup.c +++ b/nuttx/fs/fs_dup.c @@ -43,8 +43,6 @@ #include <nuttx/config.h> -#if CONFIG_NFILE_DESCRIPTORS > 0 - #include <sys/types.h> #include <unistd.h> #include <sched.h> @@ -67,6 +65,8 @@ * Global Functions ************************************************************/ +#if CONFIG_NFILE_DESCRIPTORS > 0 + int dup(int fildes) { FAR struct filelist *list; |