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 0711bae5e7
commit 670da740ba

View file

@ -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