diff options
Diffstat (limited to 'usr/src/ucbhead/sys')
-rw-r--r-- | usr/src/ucbhead/sys/file.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/src/ucbhead/sys/file.h b/usr/src/ucbhead/sys/file.h index 10863380dd..152141fcd7 100644 --- a/usr/src/ucbhead/sys/file.h +++ b/usr/src/ucbhead/sys/file.h @@ -77,6 +77,10 @@ typedef struct file #include <sys/fcntl.h> #endif +#if !defined(__XOPEN_OR_POSIX) || defined(__EXTENSIONS__) +int flock(int, int); +#endif + /* flags - see also fcntl.h */ #ifndef FOPEN |