aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlex Richardson <arichardson@FreeBSD.org>2021-08-02 08:45:05 +0000
committerAlex Richardson <arichardson@FreeBSD.org>2021-08-02 13:33:23 +0000
commit5f6c8ce2452da2da233e37bf4c2b6fccde8594b1 (patch)
treec8244bddbc0cecf2b1f80d0656962b400f63c591 /lib
parent1b1bb6f178802a4522824e0268634a99cdbda098 (diff)
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/db/db/db.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/libc/db/db/db.c b/lib/libc/db/db/db.c
index a9a5b060da62..7158cc80e44e 100644
--- a/lib/libc/db/db/db.c
+++ b/lib/libc/db/db/db.c
@@ -49,6 +49,12 @@ static int __dberr(void);
#ifndef O_CLOEXEC
#define O_CLOEXEC 0
#endif
+#ifndef O_EXLOCK
+#define O_EXLOCK 0
+#endif
+#ifndef O_SHLOCK
+#define O_SHLOCK 0
+#endif
DB *
dbopen(const char *fname, int flags, int mode, DBTYPE type, const void *openinfo)