freebsd-ports/devel/cgilib/files/patch-cgi.c
Dmitry Sivachenko 53c417e3fd New port: cgilib.
This is quite a simple library that provides an easy interface to the common
gateway interface, known as CGI.  The purpose is to provide an easy to use
interface to CGI if you need to write your program in C instead of perl.

It is needed for modern rrdtool.
2005-05-08 18:59:20 +00:00

11 lines
241 B
C

--- cgi.c.orig Sat Aug 21 01:14:07 1999
+++ cgi.c Sun May 8 22:42:30 2005
@@ -31,7 +31,7 @@
#include <unistd.h>
#include <string.h>
#include <ctype.h>
-#include <malloc.h>
+#include <stdlib.h>
#include <cgi.h>
int cgiDebugLevel = 0;