freebsd-ports/devel/cbind/files/patch-files.c
Frank J. Laszlo 136702793d New Port: devel/cbind
This tool is designed to aid in the creation of Ada bindings to C.

PR:	ports/105182
Submitted By:	"John Merryweather Cooper" <john_m_cooper@yahoo.com>
Approved By:	flz (mentor)
2006-11-09 13:56:24 +00:00

18 lines
337 B
C

--- files.c.orig Fri May 19 16:45:30 1995
+++ files.c Mon Dec 23 08:38:17 2002
@@ -1,5 +1,6 @@
#include "ansi.h"
#include "hostinfo.h"
+#include "host.h"
#include "config.h"
#include <sys/types.h>
@@ -11,7 +12,7 @@
#include <sys/mman.h>
#else
#include <unistd.h>
-#include <malloc.h>
+#include <stdlib.h>
#endif
#undef NULL