freebsd-ports/databases/mysql2odbc/files/patch-mtest.c
Max Khon 78d3b664fc - Fix build on RELENG_4 [1]
- Fix build with iODBC
- Bump PORTREVISION

Found by:	kris (via pointyhat) [1]
2005-09-13 11:38:17 +00:00

15 lines
287 B
C

--- mtest.c.orig Fri Jun 20 21:39:48 2003
+++ mtest.c Tue Sep 13 18:21:18 2005
@@ -27,10 +27,10 @@
#include <stdio.h>
#include <string.h>
#include <memory.h>
-#include <malloc.h>
+#include <stdlib.h>
#ifndef WIN32
-# include <getopt.h>
+# include <unistd.h>
#endif
#ifdef FAKE