diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-10-03 11:51:30 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-10-03 11:51:30 +0000 |
commit | 48de03824ed33e9751bc9deeb22f1e1ef650b8cb (patch) | |
tree | ddd5cbbfd8566aca5d3354e268012133143cee27 /source/include/includes.h | |
parent | 2fbb544d38f7824dc6272517bded4be952b073b1 (diff) | |
download | samba-48de03824ed33e9751bc9deeb22f1e1ef650b8cb.tar.gz samba-48de03824ed33e9751bc9deeb22f1e1ef650b8cb.tar.xz samba-48de03824ed33e9751bc9deeb22f1e1ef650b8cb.zip |
define O_ACCMODE if not defined
Diffstat (limited to 'source/include/includes.h')
-rw-r--r-- | source/include/includes.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/include/includes.h b/source/include/includes.h index 2ec134b7c6f..ecd7e0e1ab3 100644 --- a/source/include/includes.h +++ b/source/include/includes.h @@ -606,6 +606,10 @@ union semun { #define crypt ufc_crypt #endif +#ifndef O_ACCMODE +#define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR) +#endif + #if defined(HAVE_CRYPT16) && defined(HAVE_GETAUTHUID) #define ULTRIX_AUTH 1 #endif |