diff options
Diffstat (limited to 'src/RdFToBuf.c')
-rw-r--r-- | src/RdFToBuf.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/RdFToBuf.c b/src/RdFToBuf.c index 4ee9265..10e9d22 100644 --- a/src/RdFToBuf.c +++ b/src/RdFToBuf.c @@ -47,9 +47,7 @@ #if !defined(FOR_MSW) && !defined(WIN32) #include <unistd.h> #endif -#ifndef VAX11C #include <fcntl.h> -#endif #if defined(FOR_MSW) || defined(WIN32) #include <io.h> #define stat _stat @@ -71,11 +69,7 @@ XpmReadFileToBuffer( *buffer_return = NULL; -#ifndef VAX11C fd = open(filename, O_RDONLY | O_CLOEXEC); -#else - fd = open(filename, O_RDONLY, NULL); -#endif if (fd < 0) return XpmOpenFailed; |