]> granicus.if.org Git - graphviz/commitdiff
fix breakage on bsd
authorellson <devnull@localhost>
Tue, 18 Oct 2005 18:50:26 +0000 (18:50 +0000)
committerellson <devnull@localhost>
Tue, 18 Oct 2005 18:50:26 +0000 (18:50 +0000)
lib/common/memory.h

index 1e575e1bd800938adff068a7a12c00411a2c8454..b909ffe1c689755c7697e38cb6809860e522bdef 100644 (file)
 #ifndef GV_MEMORY_H
 #define GV_MEMORY_H
 
+#include <stdlib.h>
+#ifdef HAVE_MALLOC_H
 #include <malloc.h>
+#endif
 
 #ifdef __cplusplus
 extern "C" {