diff options
Diffstat (limited to 'nuttx/libc')
-rw-r--r-- | nuttx/libc/aio/Make.defs | 4 | ||||
-rw-r--r-- | nuttx/libc/aio/aio_cancel.c | 2 | ||||
-rw-r--r-- | nuttx/libc/aio/aio_error.c | 2 | ||||
-rw-r--r-- | nuttx/libc/aio/aio_read.c | 2 | ||||
-rw-r--r-- | nuttx/libc/aio/aio_return.c | 2 | ||||
-rw-r--r-- | nuttx/libc/aio/aio_suspend.c | 2 | ||||
-rw-r--r-- | nuttx/libc/aio/aio_write.c | 2 |
7 files changed, 11 insertions, 5 deletions
diff --git a/nuttx/libc/aio/Make.defs b/nuttx/libc/aio/Make.defs index bdce9f044..9df5d1f57 100644 --- a/nuttx/libc/aio/Make.defs +++ b/nuttx/libc/aio/Make.defs @@ -37,8 +37,8 @@ ifeq ($(CONFIG_LIBC_AIO),y) # Add the asynchronous I/O C files to the build -CSRCS += aio_cancel.c aio_error.c aio_read.c aio_return.c aio_signal.c -CSRCS += aio_suspend.c aio_write.c +CSRCS += aio_cancel.c aio_error.c aio_fsync.c aio_read.c aio_return.c +CSRCS += aio_signal.c aio_suspend.c aio_write.c ifneq ($(CONFIG_PTHREAD_DISABLE),y) CSRCS += lio_listio.c diff --git a/nuttx/libc/aio/aio_cancel.c b/nuttx/libc/aio/aio_cancel.c index 90b46aa68..41c2811ab 100644 --- a/nuttx/libc/aio/aio_cancel.c +++ b/nuttx/libc/aio/aio_cancel.c @@ -43,6 +43,8 @@ #include <assert.h> #include <errno.h> +#include <nuttx/wqueue.h> + #ifndef CONFIG_LIBC_AIO /**************************************************************************** diff --git a/nuttx/libc/aio/aio_error.c b/nuttx/libc/aio/aio_error.c index 8b8f70f6a..70dd024b9 100644 --- a/nuttx/libc/aio/aio_error.c +++ b/nuttx/libc/aio/aio_error.c @@ -71,7 +71,7 @@ ****************************************************************************/ /**************************************************************************** - * Name: aio_read + * Name: aio_error * * Description: * The aio_error() function returns the error status associated with the diff --git a/nuttx/libc/aio/aio_read.c b/nuttx/libc/aio/aio_read.c index 366b7cb05..bb15d7dac 100644 --- a/nuttx/libc/aio/aio_read.c +++ b/nuttx/libc/aio/aio_read.c @@ -45,6 +45,8 @@ #include <assert.h> #include <errno.h> +#include <nuttx/wqueue.h> + #include "lib_internal.h" #include "aio/aio.h" diff --git a/nuttx/libc/aio/aio_return.c b/nuttx/libc/aio/aio_return.c index d26c80f47..3aab715fc 100644 --- a/nuttx/libc/aio/aio_return.c +++ b/nuttx/libc/aio/aio_return.c @@ -71,7 +71,7 @@ ****************************************************************************/ /**************************************************************************** - * Name: aio_read + * Name: aio_return * * Description: * The aio_return() function returns the return status associated with diff --git a/nuttx/libc/aio/aio_suspend.c b/nuttx/libc/aio/aio_suspend.c index 625d597f8..4683ab24a 100644 --- a/nuttx/libc/aio/aio_suspend.c +++ b/nuttx/libc/aio/aio_suspend.c @@ -72,7 +72,7 @@ ****************************************************************************/ /**************************************************************************** - * Name: aio_read + * Name: aio_suspend * * Description: * The aio_suspend() function suspends the calling thread until at least diff --git a/nuttx/libc/aio/aio_write.c b/nuttx/libc/aio/aio_write.c index 84372c27d..7b17e7a42 100644 --- a/nuttx/libc/aio/aio_write.c +++ b/nuttx/libc/aio/aio_write.c @@ -45,6 +45,8 @@ #include <assert.h> #include <errno.h> +#include <nuttx/wqueue.h> + #include "lib_internal.h" #include "aio/aio.h" |