diff options
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/includes.h | 4 | ||||
-rw-r--r-- | source3/include/vfs.h | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h index d621b7e4c0..cfd4d9aa52 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -149,10 +149,6 @@ #include <netgroup.h> #endif -#if defined(HAVE_AIO_H) && defined(HAVE_AIO) -#include <aio.h> -#endif - /* Special macros that are no-ops except when run under Valgrind on * x86. They've moved a little bit from valgrind 1.0.4 to 1.9.4 */ #if HAVE_VALGRIND_MEMCHECK_H diff --git a/source3/include/vfs.h b/source3/include/vfs.h index 9e2c6b54b0..1d9a2cd056 100644 --- a/source3/include/vfs.h +++ b/source3/include/vfs.h @@ -451,6 +451,12 @@ enum vfs_fallocate_mode { }; /* + * forward declaration required here until the posix aio functions + * leave the VFS + */ +struct aiocb; + +/* Available VFS operations. These values must be in sync with vfs_ops struct (struct vfs_fn_pointers and struct vfs_handle_pointers inside of struct vfs_ops). In particular, if new operations are added to vfs_ops, appropriate constants |