Merge branch 'openbsd-roaring' into 'master'

OpenBSD: don't include malloc.h

See merge request GNOME/gtk!2434
This commit is contained in:
Emmanuele Bassi 2020-08-13 16:23:20 +00:00
commit 0228c89011

View File

@ -58,7 +58,7 @@ enum {
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h> // will provide posix_memalign with _POSIX_C_SOURCE as defined above
#if !(defined(__APPLE__)) && !(defined(__FreeBSD__))
#if !(defined(__APPLE__)) && !(defined(__FreeBSD__)) && !(defined(__OpenBSD__))
#include <malloc.h> // this should never be needed but there are some reports that it is needed.
#endif