From f9df073a31a813f5ee50d4d8ea3ec590e1a3e970 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 6 Jul 2012 15:05:02 +0200 Subject: s3: Make smbd/aio.c not depend on aio.h anymore Signed-off-by: Jeremy Allison --- source3/include/includes.h | 4 ---- source3/include/vfs.h | 6 ++++++ 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'source3/include') 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 #endif -#if defined(HAVE_AIO_H) && defined(HAVE_AIO) -#include -#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 @@ -450,6 +450,12 @@ enum vfs_fallocate_mode { VFS_FALLOCATE_KEEP_SIZE = 1 }; +/* + * 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). -- cgit