Build: fix OpenBSD error in guardedalloc

Pull Request: https://projects.blender.org/blender/blender/pulls/108252
This commit is contained in:
Brad Smith 2023-05-25 15:21:48 +02:00 committed by Brecht Van Lommel
parent de2c8416a0
commit a50768616f

@ -25,6 +25,8 @@
# define HAVE_MALLOC_STATS
#elif defined(__FreeBSD__)
# include <malloc_np.h>
#elif defined(__OpenBSD__)
# undef USE_MALLOC_USABLE_SIZE
#elif defined(__APPLE__)
# include <malloc/malloc.h>
# define malloc_usable_size malloc_size