openbsd-ports/devel/cmockery/patches/patch-src_cmockery_c
2014-11-18 10:17:17 +00:00

15 lines
415 B
Plaintext

$OpenBSD: patch-src_cmockery_c,v 1.1 2014/11/18 10:17:17 brad Exp $
Replace the malloc.h header with stdlib.h.
--- src/cmockery.c.orig Mon Nov 3 23:25:43 2014
+++ src/cmockery.c Mon Nov 3 23:25:51 2014
@@ -13,7 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-#include <malloc.h>
#include <setjmp.h>
#ifndef _WIN32
#include <signal.h>