Patch #1639 2006-11-16 11:48
heromyth
Let CB to be compiled successfully under FreeBSD- Download
- 1639-Let_CB_to_be_c.patch (464 bytes)
Index: src/sdk/scripting/sqplus/sqplus.h
===================================================================
--- src/sdk/scripting/sqplus/sqplus.h £¨3225£©
+++ src/sdk/scripting/sqplus/sqplus.h £¨£©
@@ -15,7 +15,11 @@
#ifdef __APPLE__
#include <malloc/malloc.h>
#else
- #include <malloc.h>
+ #ifdef __FreeBSD__
+ #include <stdlib.h>
+ #else
+ #include <malloc.h>
+ #endif
#endif
#include <memory.h>
#if defined(_MSC_VER) || defined(__BORLANDC__)