summaryrefslogtreecommitdiff
path: root/source3/smbwrapper/realcalls.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-10-07 07:55:14 +0000
committerAndrew Tridgell <tridge@samba.org>1998-10-07 07:55:14 +0000
commitd836bedb4035acc61e83f1a0dc76df2c33dfc8af (patch)
tree5e320eb1118f6d35ec78d5f62a04f3c885968f83 /source3/smbwrapper/realcalls.h
parentd2856b2dab5440e184be8d96807a08ce211f39ab (diff)
downloadsamba-d836bedb4035acc61e83f1a0dc76df2c33dfc8af.tar.gz
samba-d836bedb4035acc61e83f1a0dc76df2c33dfc8af.tar.bz2
samba-d836bedb4035acc61e83f1a0dc76df2c33dfc8af.zip
more OSF1 changes as well as changes to allow us to use the standard
includes.h in wrapped.c, thus making porting much simpler (This used to be commit 6f2239c935fdecfefa89227c113df01e3957691a)
Diffstat (limited to 'source3/smbwrapper/realcalls.h')
-rw-r--r--source3/smbwrapper/realcalls.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/smbwrapper/realcalls.h b/source3/smbwrapper/realcalls.h
index 83c7cccf20..76e233bc9b 100644
--- a/source3/smbwrapper/realcalls.h
+++ b/source3/smbwrapper/realcalls.h
@@ -36,7 +36,10 @@
#define real_chmod(fn, mode) (syscall(SYS_chmod,(fn), (mode)))
#define real_chown(fn, owner, group) (syscall(SYS_chown,(fn),(owner),(group)))
+#ifdef SYS_getdents
#define real_getdents(fd, dirp, count) (syscall(SYS_getdents, (fd), (dirp), (count)))
+#endif
+
#define real_link(fn1, fn2) (syscall(SYS_link, (fn1), (fn2)))
#define real_open(fn,flags,mode) (syscall(SYS_open, (fn), (flags), (mode)))