[gtk: 1/2] OpenBSD: don't include malloc.h
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk: 1/2] OpenBSD: don't include malloc.h
- Date: Thu, 13 Aug 2020 16:23:21 +0000 (UTC)
commit b4508be3c91f9d234dc61635d7cbc196f04cc33f
Author: Antoine Jacoutot <ajacoutot gnome org>
Date: Thu Aug 13 17:48:34 2020 +0200
OpenBSD: don't include malloc.h
This header doesn't exist anymore on recent OpenBSD releases.
gtk/roaring/roaring.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/roaring/roaring.h b/gtk/roaring/roaring.h
index 26ab1bd4dc..db04db5ae6 100644
--- a/gtk/roaring/roaring.h
+++ b/gtk/roaring/roaring.h
@@ -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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]