Add another batch of missing headers throughout the repository

Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
This commit is contained in:
Gustavo Henrique Nihei 2023-03-08 15:57:51 -03:00 committed by Alan Carvalho de Assis
parent a1bca5070c
commit efb4e0bc91
26 changed files with 84 additions and 64 deletions

View File

@ -24,12 +24,12 @@
#include <nuttx/config.h> #include <nuttx/config.h>
#include <stdio.h>
#include <fcntl.h>
#include <assert.h> #include <assert.h>
#include <unistd.h>
#include <dspb16.h> #include <dspb16.h>
#include <fcntl.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include "foc_cfg.h" #include "foc_cfg.h"
#include "foc_debug.h" #include "foc_debug.h"

View File

@ -24,12 +24,12 @@
#include <nuttx/config.h> #include <nuttx/config.h>
#include <stdio.h>
#include <fcntl.h>
#include <assert.h> #include <assert.h>
#include <unistd.h>
#include <dsp.h> #include <dsp.h>
#include <fcntl.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include "foc_cfg.h" #include "foc_cfg.h"
#include "foc_debug.h" #include "foc_debug.h"

View File

@ -25,11 +25,11 @@
#include <nuttx/config.h> #include <nuttx/config.h>
#include <assert.h> #include <assert.h>
#include <string.h>
#include "foc_motor_b16.h"
#include "foc_cfg.h" #include "foc_cfg.h"
#include "foc_debug.h" #include "foc_debug.h"
#include "foc_motor_b16.h"
/**************************************************************************** /****************************************************************************
* Pre-processor Definitions * Pre-processor Definitions

View File

@ -25,11 +25,11 @@
#include <nuttx/config.h> #include <nuttx/config.h>
#include <assert.h> #include <assert.h>
#include <string.h>
#include "foc_motor_f32.h"
#include "foc_cfg.h" #include "foc_cfg.h"
#include "foc_debug.h" #include "foc_debug.h"
#include "foc_motor_f32.h"
/**************************************************************************** /****************************************************************************
* Pre-processor Definitions * Pre-processor Definitions

View File

@ -24,9 +24,10 @@
#include <nuttx/config.h> #include <nuttx/config.h>
#include <fcntl.h>
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
#include <fcntl.h>
#include <sched.h>
#include "foc_mq.h" #include "foc_mq.h"
#include "foc_thr.h" #include "foc_thr.h"

View File

@ -23,14 +23,14 @@
****************************************************************************/ ****************************************************************************/
#include <nuttx/config.h> #include <nuttx/config.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <stdio.h>
#include <fcntl.h>
#include <unistd.h>
#include <errno.h> #include <errno.h>
#include <fcntl.h>
#include <pthread.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include "pipe.h" #include "pipe.h"

View File

@ -24,9 +24,10 @@
#include <nuttx/config.h> #include <nuttx/config.h>
#include <errno.h>
#include <pthread.h>
#include <stdio.h> #include <stdio.h>
#include <unistd.h> #include <unistd.h>
#include <errno.h>
#include "pipe.h" #include "pipe.h"

View File

@ -24,10 +24,11 @@
#include <nuttx/config.h> #include <nuttx/config.h>
#include <errno.h>
#include <signal.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <time.h> #include <time.h>
#include <errno.h>
/**************************************************************************** /****************************************************************************
* Public Functions * Public Functions

View File

@ -24,15 +24,15 @@
#include <nuttx/config.h> #include <nuttx/config.h>
#include <sys/types.h> #include <debug.h>
#include <sys/ioctl.h> #include <errno.h>
#include <fcntl.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/ioctl.h>
#include <unistd.h> #include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <debug.h>
#include <nuttx/timers/watchdog.h> #include <nuttx/timers/watchdog.h>

View File

@ -27,6 +27,7 @@
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h>
#include "industry/foc/foc_log.h" #include "industry/foc/foc_log.h"
#include "industry/foc/fixed16/foc_angle.h" #include "industry/foc/fixed16/foc_angle.h"

View File

@ -26,6 +26,7 @@
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
#include <string.h>
#include "industry/foc/foc_log.h" #include "industry/foc/foc_log.h"
#include "industry/foc/fixed16/foc_angle.h" #include "industry/foc/fixed16/foc_angle.h"

View File

@ -27,6 +27,7 @@
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
#include <fcntl.h> #include <fcntl.h>
#include <string.h>
#include <unistd.h> #include <unistd.h>
#include "industry/foc/foc_log.h" #include "industry/foc/foc_log.h"

View File

@ -26,6 +26,7 @@
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
#include <string.h>
#include "industry/foc/foc_log.h" #include "industry/foc/foc_log.h"
#include "industry/foc/foc_common.h" #include "industry/foc/foc_common.h"

View File

@ -26,6 +26,7 @@
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
#include <string.h>
#include "industry/foc/foc_log.h" #include "industry/foc/foc_log.h"
#include "industry/foc/fixed16/foc_routine.h" #include "industry/foc/fixed16/foc_routine.h"

View File

@ -26,6 +26,7 @@
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
#include <string.h>
#include "industry/foc/foc_log.h" #include "industry/foc/foc_log.h"
#include "industry/foc/fixed16/foc_velocity.h" #include "industry/foc/fixed16/foc_velocity.h"

View File

@ -27,6 +27,7 @@
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h>
#include "industry/foc/foc_log.h" #include "industry/foc/foc_log.h"
#include "industry/foc/float/foc_angle.h" #include "industry/foc/float/foc_angle.h"

View File

@ -26,6 +26,7 @@
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
#include <string.h>
#include "industry/foc/foc_log.h" #include "industry/foc/foc_log.h"
#include "industry/foc/float/foc_angle.h" #include "industry/foc/float/foc_angle.h"

View File

@ -27,6 +27,7 @@
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
#include <fcntl.h> #include <fcntl.h>
#include <string.h>
#include <unistd.h> #include <unistd.h>
#include "industry/foc/foc_log.h" #include "industry/foc/foc_log.h"

View File

@ -26,6 +26,7 @@
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
#include <string.h>
#include "industry/foc/foc_log.h" #include "industry/foc/foc_log.h"
#include "industry/foc/foc_common.h" #include "industry/foc/foc_common.h"

View File

@ -26,6 +26,7 @@
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
#include <string.h>
#include "industry/foc/foc_log.h" #include "industry/foc/foc_log.h"
#include "industry/foc/float/foc_routine.h" #include "industry/foc/float/foc_routine.h"

View File

@ -26,6 +26,7 @@
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
#include <string.h>
#include "industry/foc/foc_log.h" #include "industry/foc/foc_log.h"
#include "industry/foc/float/foc_velocity.h" #include "industry/foc/float/foc_velocity.h"

View File

@ -24,21 +24,21 @@
#include <nuttx/config.h> #include <nuttx/config.h>
#include <sys/param.h> #include <assert.h>
#include <sys/types.h> #include <debug.h>
#include <sys/ioctl.h> #include <dirent.h>
#include <errno.h>
#include <stdint.h> #include <fcntl.h>
#include <sched.h>
#include <stdbool.h> #include <stdbool.h>
#include <stdint.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h>
#include <string.h> #include <string.h>
#include <strings.h> #include <strings.h>
#include <stdlib.h> #include <sys/ioctl.h>
#include <fcntl.h> #include <sys/param.h>
#include <assert.h> #include <sys/types.h>
#include <errno.h>
#include <dirent.h>
#include <debug.h>
#include <unistd.h> #include <unistd.h>
#include <nuttx/audio/audio.h> #include <nuttx/audio/audio.h>

View File

@ -24,9 +24,21 @@
#include <nuttx/config.h> #include <nuttx/config.h>
#include <sys/types.h> #include <assert.h>
#include <debug.h>
#include <dirent.h>
#include <errno.h>
#include <fcntl.h>
#include <sched.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <strings.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include <sys/types.h>
#include <unistd.h>
#ifdef CONFIG_NXPLAYER_HTTP_STREAMING_SUPPORT #ifdef CONFIG_NXPLAYER_HTTP_STREAMING_SUPPORT
# include <sys/time.h> # include <sys/time.h>
# include <sys/socket.h> # include <sys/socket.h>
@ -34,19 +46,6 @@
# include <netdb.h> # include <netdb.h>
#endif #endif
#include <stdint.h>
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
#include <strings.h>
#include <stdlib.h>
#include <fcntl.h>
#include <assert.h>
#include <errno.h>
#include <dirent.h>
#include <debug.h>
#include <unistd.h>
#include <netutils/netlib.h> #include <netutils/netlib.h>
#include <nuttx/audio/audio.h> #include <nuttx/audio/audio.h>

View File

@ -22,11 +22,13 @@
* Included Files * Included Files
****************************************************************************/ ****************************************************************************/
#include <sys/types.h> #include <nuttx/config.h>
#include <stdint.h> #include <stdint.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <unistd.h> #include <unistd.h>
#include <nuttx/audio/audio.h> #include <nuttx/audio/audio.h>

View File

@ -24,23 +24,24 @@
#include <nuttx/config.h> #include <nuttx/config.h>
#include <sys/types.h> #include <assert.h>
#include <sys/ioctl.h> #include <debug.h>
#include <dirent.h>
#include <stdint.h> #include <errno.h>
#include <fcntl.h>
#include <sched.h>
#include <stdbool.h> #include <stdbool.h>
#include <stdint.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h>
#include <string.h> #include <string.h>
#include <strings.h> #include <strings.h>
#include <stdlib.h> #include <sys/ioctl.h>
#include <fcntl.h> #include <sys/types.h>
#include <assert.h>
#include <errno.h>
#include <dirent.h>
#include <debug.h>
#include <unistd.h> #include <unistd.h>
#include <nuttx/audio/audio.h> #include <nuttx/audio/audio.h>
#include "system/nxrecorder.h" #include "system/nxrecorder.h"
/**************************************************************************** /****************************************************************************

View File

@ -22,8 +22,11 @@
* Included Files * Included Files
****************************************************************************/ ****************************************************************************/
#include <nuttx/config.h>
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
#include <pthread.h>
#include <sched.h> #include <sched.h>
#include <semaphore.h> #include <semaphore.h>
#include <signal.h> #include <signal.h>