Add the dmalloc header if DMALLOC is set.
[gedcom-parse.git] / gedcom.h
index 487a918ab09f16298e5b70f500f049460a2fb763..995af0cc00e98f62b6ea5c4544e7cf63ea046b14 100644 (file)
--- a/gedcom.h
+++ b/gedcom.h
@@ -17,6 +17,9 @@
 #include <stdio.h>
 #include <string.h>
 #include <errno.h>
+#ifdef DMALLOC
+#include <dmalloc.h>
+#endif
 
 #define MAXGEDCLEVEL    99
 #define MAXGEDCLINELEN  255