(AIX defines open to be open64)
Guenther
*/
#include "includes.h"
+#include "system/filesys.h"
#include "smbd/smbd.h"
SMB_ACL_T aixacl_to_smbacl(struct acl *file_acl)
return -1;
}
+#ifdef AIX
+#undef open /* AIX defines open to be open64 */
+#endif
+
static struct vfs_fn_pointers vfs_default_fns = {
/* Disk operations */
*/
#include "includes.h"
+#include "system/filesys.h"
#include "printing/pcap.h"
#ifdef AIX
struct smb_filename *smb_fname, struct files_struct *fsp,
int flags, mode_t mode)
{
+#ifdef AIX
+#undef open /* AIX defines open to be open64 */
+#endif
VFS_FIND(open);
return handle->fns->open(handle, smb_fname, fsp, flags, mode);
}