Browse Source

Add fcntl64 prototype

Peter S. Mazinger 18 years ago
parent
commit
f7dc844c56
1 changed files with 3 additions and 0 deletions
  1. 3 0
      include/fcntl.h

+ 3 - 0
include/fcntl.h

@@ -79,6 +79,9 @@ extern int __REDIRECT (fcntl, (int __fd, int __cmd, ...), fcntl64);
 #  define fcntl fcntl64
 # endif
 #endif
+#ifdef __USE_LARGEFILE64
+extern int fcntl64 (int __fd, int __cmd, ...);
+#endif
 
 /* Open FILE and return a new file descriptor for it, or -1 on error.
    OFLAG determines the type of access used.  If O_CREAT is on OFLAG,