diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-10-07 05:58:09 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-10-07 05:58:09 +0000 |
commit | 002a9fe6342c1d62f273634db484ac93db647ca9 (patch) | |
tree | ceeb93757a28be440a470c628963b4f99b1b7908 /source3/smbwrapper/wrapper.h | |
parent | 39e9d06e45c4800d3ae225b1de43a9447dbe1d12 (diff) | |
download | samba-002a9fe6342c1d62f273634db484ac93db647ca9.tar.gz samba-002a9fe6342c1d62f273634db484ac93db647ca9.tar.bz2 samba-002a9fe6342c1d62f273634db484ac93db647ca9.zip |
- no getdents on OSF1
- try a new method of handling prototype mismatches in wrapped.c. We
now try to disable prototypes!
(This used to be commit 77aea37bb83f2b9ad541f851b003ca10b9811314)
Diffstat (limited to 'source3/smbwrapper/wrapper.h')
-rw-r--r-- | source3/smbwrapper/wrapper.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/source3/smbwrapper/wrapper.h b/source3/smbwrapper/wrapper.h index 25694bd78c..3e7d754c9b 100644 --- a/source3/smbwrapper/wrapper.h +++ b/source3/smbwrapper/wrapper.h @@ -21,6 +21,20 @@ #include "config.h" +#ifdef NO_PROTO +/* get rid of prototypes */ +#define _NO_PROTO + +#ifdef HAVE_SYS_CDEFS_H +#include <sys/cdefs.h> +#ifdef __P +#undef __P +#define __P(x) () +#endif +#endif +#endif + + #ifdef HAVE_SYSCALL_H #include <syscall.h> #elif HAVE_SYS_SYSCALL_H |