]> git.cworth.org Git - gzip/blobdiff - lib/fcntl_.h
Imported Debian patch 1.3.12-1
[gzip] / lib / fcntl_.h
index 5c2857caef685106ac4818676dafdc06aa1bf6c3..e16ad54afe1b330258462a6a1ce39d64909fa018 100644 (file)
 #include <unistd.h>
 #include @ABSOLUTE_FCNTL_H@
 
+
+/* Declare overridden functions.  */
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifdef FCHDIR_REPLACEMENT
+# define open rpl_open
+extern int open (const char *, int, ...);
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+
+/* Fix up the O_* macros.  */
+
 #if !defined O_DIRECT && defined O_DIRECTIO
 /* Tru64 spells it `O_DIRECTIO'.  */
 # define O_DIRECT O_DIRECTIO