diff options
Diffstat (limited to 'openbsd-compat/bsd-misc.h')
-rw-r--r-- | openbsd-compat/bsd-misc.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/openbsd-compat/bsd-misc.h b/openbsd-compat/bsd-misc.h index af2ccdae2..2a73ae45b 100644 --- a/openbsd-compat/bsd-misc.h +++ b/openbsd-compat/bsd-misc.h | |||
@@ -145,4 +145,12 @@ int raise(int); | |||
145 | pid_t getsid(pid_t); | 145 | pid_t getsid(pid_t); |
146 | #endif | 146 | #endif |
147 | 147 | ||
148 | #ifndef HAVE_FLOCK | ||
149 | # define LOCK_SH 0x01 | ||
150 | # define LOCK_EX 0x02 | ||
151 | # define LOCK_NB 0x04 | ||
152 | # define LOCK_UN 0x08 | ||
153 | int flock(int, int); | ||
154 | #endif | ||
155 | |||
148 | #endif /* _BSD_MISC_H */ | 156 | #endif /* _BSD_MISC_H */ |