summaryrefslogtreecommitdiff
path: root/source4/ntvfs/simple
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2003-08-15 17:14:20 +0000
committerHerb Lewis <herb@samba.org>2003-08-15 17:14:20 +0000
commite2c1250076060faca37b5b3d76902d6c24c2f3fd (patch)
treeccca6559a1af7357367d79363aca397d266529f1 /source4/ntvfs/simple
parentf24c298f43a86d117314007246e1175af74a7d96 (diff)
downloadsamba-e2c1250076060faca37b5b3d76902d6c24c2f3fd.tar.gz
samba-e2c1250076060faca37b5b3d76902d6c24c2f3fd.tar.bz2
samba-e2c1250076060faca37b5b3d76902d6c24c2f3fd.zip
fix IRIX build
(This used to be commit 85c504a837960bf74dc05391a4d0bb924f2f9a3a)
Diffstat (limited to 'source4/ntvfs/simple')
-rw-r--r--source4/ntvfs/simple/vfs_simple.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/ntvfs/simple/vfs_simple.c b/source4/ntvfs/simple/vfs_simple.c
index 52e772af74..11763c93b5 100644
--- a/source4/ntvfs/simple/vfs_simple.c
+++ b/source4/ntvfs/simple/vfs_simple.c
@@ -29,6 +29,10 @@
#include "includes.h"
#include "svfs.h"
+#ifndef O_DIRECTORY
+#define O_DIRECTORY 0
+#endif
+
/*
connect to a share - used when a tree_connect operation comes
in. For a disk based backend we needs to ensure that the base