ports/cad/qflow/patches/patch-src_hash_c

13 lines
303 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: src/hash.c
--- src/hash.c.orig
+++ src/hash.c
@@ -19,7 +19,7 @@ the Free Software Foundation, Inc., 675 Mass Ave, Camb
#include <stdio.h>
#include <string.h> /* For strdup() */
-#ifdef __APPLE__
+#if defined(__APPLE__) || defined(__OpenBSD__)
#include <stdlib.h>
#else
#include <malloc.h>