Define F_RDLCK for windows builds

libnfs-4.0.0-vitalif
Daniel Abrecht 2018-01-13 13:39:38 +00:00
parent 4dda1f87a4
commit 6f7e12bc5d
1 changed files with 6 additions and 0 deletions

View File

@ -63,6 +63,12 @@ typedef int socklen_t;
#define S_IFLNK 0xA000 /* Link */
#endif
#ifndef F_RDLCK
#define F_RDLCK 0
#define F_WRLCK 1
#define F_UNLCK 2
#endif
#ifndef S_IFIFO
#define S_IFIFO 0x1000 /* FIFO */
#endif