Check-in Number:
|
2002 | |
Date: |
2002-Mar-13 19:41:30 (local)
2002-Mar-13 18:41:30 (UTC) |
User: | rse |
Branch: | |
Comment: |
add full dmalloc support |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/val/val.c 1.11 -> 1.12
--- val.c 2002/03/13 18:35:58 1.11
+++ val.c 2002/03/13 18:41:30 1.12
@@ -39,6 +39,11 @@
#include <stdarg.h>
#include <string.h>
+/* optional memory debugging support */
+#if defined(HAVE_DMALLOC_H) && defined(WITH_DMALLOC)
+#include "dmalloc.h"
+#endif
+
/* include own API header */
#include "val.h"
|
|
ossp-pkg/val/val_test.c 1.6 -> 1.7
--- val_test.c 2002/03/13 18:35:58 1.6
+++ val_test.c 2002/03/13 18:41:30 1.7
@@ -28,8 +28,14 @@
** val_test.c: test suite
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <stdio.h>
#include <stdlib.h>
+#if defined(HAVE_DMALLOC_H) && defined(WITH_DMALLOC)
+#include "dmalloc.h"
+#endif
#include "val.h"
static void die(char *msg)
|
|