*/
-/****h* silcutil/SilcMemoryAPI
+/****h* silcutil/SILC Memory Interface
*
* DESCRIPTION
*
/* Prototypes */
+#ifndef SILC_STACKTRACE
+
/****f* silcutil/SilcMemoryAPI/silc_malloc
*
* SYNOPSIS
* DESCRIPTION
*
* Allocates memory of for an array of `items' elements of `size' bytes
- * and returns pointer to the allocated memory area. The memory are is
+ * and returns pointer to the allocated memory area. The memory area is
* also zeroed. Free the memory by calling silc_free.
*
***/
***/
void *silc_memdup(const void *ptr, size_t size);
+#else
+#ifndef SILC_DIST_TOOLKIT
+#error "The stack trace is not supported in this distribution"
+#endif /* SILC_DIST_TOOLKIT */
+
+#include "stacktrace.h"
+#endif /* SILC_STACKTRACE */
+
#endif /* SILCMEMORY_H */