Partially sync files.el from XEmacs 21.5 for wildcard support.
[sxemacs] / src / sysfile.h
index 86e4cf1..df59f91 100644 (file)
@@ -47,7 +47,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. */
 
 #include <sys/param.h>
 
-#if defined (NeXT) 
+#if defined (NeXT)
 /* what is needed from here?  Do others need it too? */
 # include <sys/fcntl.h>
 #endif                         /* NeXT */
@@ -304,6 +304,7 @@ ssize_t sys_write(int, const void *, size_t);
 
 #ifdef ENCAPSULATE_OPEN
 int sys_open(const char *, int, ...);
+int raw_open(const char *, int, ...);
 #endif
 #if defined (ENCAPSULATE_OPEN) && !defined (DONT_ENCAPSULATE)
 # undef open
@@ -311,6 +312,7 @@ int sys_open(const char *, int, ...);
 #endif
 #if !defined (ENCAPSULATE_OPEN) && defined (DONT_ENCAPSULATE)
 # define sys_open open
+# define raw_open open
 #endif
 
 #ifdef ENCAPSULATE_CLOSE