-/*
- * Type for dirent structure.
- */
-
-#ifndef SMB_STRUCT_DIRENT
-# if defined(HAVE_EXPLICIT_LARGEFILE_SUPPORT) && defined(HAVE_STRUCT_DIRENT64)
-# define SMB_STRUCT_DIRENT struct dirent64
-# else
-# define SMB_STRUCT_DIRENT struct dirent
-# endif
-#endif
-
-/*
- * Type for DIR structure.
- */
-
-#ifndef SMB_STRUCT_DIR
-# if defined(HAVE_EXPLICIT_LARGEFILE_SUPPORT) && defined(HAVE_STRUCT_DIR64)
-# define SMB_STRUCT_DIR DIR64
-# else
-# define SMB_STRUCT_DIR DIR
-# endif
-#endif
-
-/*
- * Defines for 64 bit fcntl locks.
- */
-
-#ifndef SMB_STRUCT_FLOCK
-# if defined(HAVE_EXPLICIT_LARGEFILE_SUPPORT) && defined(HAVE_STRUCT_FLOCK64) && defined(HAVE_OFF64_T)
-# define SMB_STRUCT_FLOCK struct flock64
-# else
-# define SMB_STRUCT_FLOCK struct flock
-# endif
-#endif
-
-#ifndef SMB_F_SETLKW
-# if defined(HAVE_EXPLICIT_LARGEFILE_SUPPORT) && defined(HAVE_STRUCT_FLOCK64) && defined(HAVE_OFF64_T)
-# define SMB_F_SETLKW F_SETLKW64
-# else
-# define SMB_F_SETLKW F_SETLKW
-# endif
-#endif
-
-#ifndef SMB_F_SETLK
-# if defined(HAVE_EXPLICIT_LARGEFILE_SUPPORT) && defined(HAVE_STRUCT_FLOCK64) && defined(HAVE_OFF64_T)
-# define SMB_F_SETLK F_SETLK64
-# else
-# define SMB_F_SETLK F_SETLK
-# endif
-#endif
-
-#ifndef SMB_F_GETLK
-# if defined(HAVE_EXPLICIT_LARGEFILE_SUPPORT) && defined(HAVE_STRUCT_FLOCK64) && defined(HAVE_OFF64_T)
-# define SMB_F_GETLK F_GETLK64
-# else
-# define SMB_F_GETLK F_GETLK
-# endif
-#endif
-
-/*
- * Type for aiocb structure.
- */
-
-#ifndef SMB_STRUCT_AIOCB
-# if defined(WITH_AIO)
-# if defined(HAVE_EXPLICIT_LARGEFILE_SUPPORT) && defined(HAVE_AIOCB64)
-# define SMB_STRUCT_AIOCB struct aiocb64
-# else
-# define SMB_STRUCT_AIOCB struct aiocb
-# endif
-# else
-# define SMB_STRUCT_AIOCB int /* AIO not being used but we still need the define.... */
-# endif
-#endif
-