SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,14 @@
Stop using malloc.h in favor of stdlib.h; should actually introduce _OU_TARGET_OS_OPENBSD
--- ou/src/ou/malloc.cpp.orig Wed Jan 13 23:09:57 2016
+++ ou/src/ou/malloc.cpp Wed Jan 13 23:11:34 2016
@@ -29,7 +29,8 @@
#include <ou/customization.h>
#include <ou/macros.h>
-#if _OU_TARGET_OS == _OU_TARGET_OS_MAC || _OU_TARGET_OS == _OU_TARGET_OS_IOS
+#if _OU_TARGET_OS == _OU_TARGET_OS_MAC || _OU_TARGET_OS == _OU_TARGET_OS_IOS \
+ || defined(__OpenBSD__)
#include <stdlib.h>