File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 2727
2828#include <nuttx/config.h>
2929
30+ #include <sys/types.h>
31+
3032#include <stdint.h>
3133
3234/****************************************************************************
Original file line number Diff line number Diff line change 6464
6565#include <arpa/inet.h>
6666
67- #include "fsutils/passwd.h"
67+ #ifdef CONFIG_FTPD_LOGIN_PASSWD
68+ #include "fsutils/passwd.h"
69+ #endif
6870
6971#include "netutils/ftpd.h"
7072
@@ -2151,6 +2153,8 @@ static int ftpd_listbuffer(FAR struct ftpd_session_s *session,
21512153 FAR struct stat * st , FAR char * buffer ,
21522154 size_t buflen , unsigned int opton )
21532155{
2156+ UNUSED (session );
2157+
21542158 FAR char * name ;
21552159 size_t offset = 0 ;
21562160
@@ -4092,6 +4096,8 @@ static void ftpd_freesession(FAR struct ftpd_session_s *session)
40924096
40934097static void ftpd_workersetup (FAR struct ftpd_session_s * session )
40944098{
4099+ UNUSED (session );
4100+
40954101#if defined(CONFIG_NET_HAVE_IPTOS ) || defined(CONFIG_NET_HAVE_OOBINLINE )
40964102 int temp ;
40974103#endif
You can’t perform that action at this time.
0 commit comments