openbsd-ports/databases/xmysql/patches/patch-Xmysql_cb_c

16 lines
367 B
Plaintext
Raw Normal View History

2011-07-08 07:32:17 -04:00
$OpenBSD: patch-Xmysql_cb_c,v 1.1 2011/07/08 11:32:17 jasper Exp $
--- Xmysql_cb.c.orig Sun Oct 18 18:40:19 1998
+++ Xmysql_cb.c Fri Jul 8 13:30:59 2011
@@ -1,5 +1,11 @@
#include <string.h>
+
+#if defined(__FreeBSD__) || defined(__OpenBSD__)
+#include <stdlib.h>
+#else
#include <malloc.h>
+#endif
+
#include "forms.h"
#include "Xmysql.h"
#include "XmysqlDB.h"