freebsd-ports/databases/ocaml-sqlite3/files/patch-sqlite3_stubs.c
Aaron Dalton ed993d6b00 Adding port databases/ocaml-sqlite3, OCaml bindings for databases/sqlite3.
PR:		ports/93920
Submitted by:	Meikel Brandmeyer <ocaml-sqlite3-port@kotka.de>
2006-07-24 21:19:44 +00:00

13 lines
323 B
C

--- sqlite3_stubs.c.orig Mon Feb 27 20:51:46 2006
+++ sqlite3_stubs.c Mon Feb 27 23:23:43 2006
@@ -24,7 +24,10 @@
#include <stdio.h>
#include <string.h>
+/* FIXME: This should go into configure script. */
+#if defined(HAVE_ALLOCA_H)
#include <alloca.h>
+#endif
#include <caml/mlvalues.h>
#include <caml/memory.h>