Files
pkgsrc-ng/lang/yap/patches/patch-ae
2016-11-18 22:39:22 +01:00

17 lines
388 B
Plaintext

$NetBSD: patch-ae,v 1.3 2015/12/29 23:34:57 dholland Exp $
Don't use nonstandard headers.
--- C/c_interface.c.orig 2013-01-19 20:37:25.000000000 +0100
+++ C/c_interface.c 2013-03-07 12:03:41.320513600 +0100
@@ -360,9 +360,6 @@
#ifdef CUT_C
#include "cut_c.h"
#endif /* CUT_C */
-#if HAVE_MALLOC_H
-#include <malloc.h>
-#endif
#if !HAVE_STRNCPY
#define strncpy(X,Y,Z) strcpy(X,Y)