Description
On FreeBSD including malloc.h makes program uncompilable. there is #error include stdlib.h instead inside malloc.h header file.
fix follows:
— lib/tsconfig/TsConfigGrammar.y.orig 2011-08-20 18:36:13.685707419 +0200
+++ lib/tsconfig/TsConfigGrammar.y 2011-08-20 18:36:34.796159531 +0200
@@ -23,7 +23,7 @@
*/
- include "TsConfigTypes.h"
- include <malloc.h>
+# include <stdlib.h>
- include <malloc.h>
// Inhibit Bison definitions.
- define YYMALLOC malloc