--- Wnn/jserver/malloc.c.orig	Sat Jul 25 17:10:54 2015
+++ Wnn/jserver/malloc.c	Sat Jul 25 17:11:24 2015
@@ -50,14 +50,7 @@
  */
 #include <stdio.h>
 #include "wnn_malloc.h"
-#undef	malloc
-#undef	realloc
-#undef	free
-
-extern char *malloc();
-extern void free();
-extern char *realloc();
-extern char *calloc();
+#include <stdlib.h>
 
 char *
 malloc0(size)
