1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-06 15:49:35 +03:00

Define _BSD_SOURCE when building on OpenBSD. This is required for fchmod().

FossilOrigin-Name: f9027cb47bdec8dcebf1f038921b28d9e9928c18
This commit is contained in:
dan
2013-03-11 13:37:52 +00:00
parent b606ec52c7
commit 881bd79293
3 changed files with 11 additions and 7 deletions

View File

@@ -66,6 +66,10 @@
# define _GNU_SOURCE
#endif
#if defined(__OpenBSD__) && !defined(_BSD_SOURCE)
# define _BSD_SOURCE
#endif
/*
** Include standard header files as necessary
*/