ndn_memory.h should be in the header file
diff --git a/ndn-cpp/util/DynamicUCharArray.c b/ndn-cpp/util/DynamicUCharArray.c
index 9cb53e7..ac1e451 100644
--- a/ndn-cpp/util/DynamicUCharArray.c
+++ b/ndn-cpp/util/DynamicUCharArray.c
@@ -4,10 +4,10 @@
* BSD license, See the LICENSE file for more information.
*/
-#include "ndn_memory.h"
#include "DynamicUCharArray.h"
char *ndn_DynamicUCharArray_reallocArray(struct ndn_DynamicUCharArray *self, unsigned int length)
{
+ // TODO: implement.
return "ndn_DynamicUCharArray_reallocArray: realloc function pointer not supplied";
}
\ No newline at end of file
diff --git a/ndn-cpp/util/DynamicUCharArray.h b/ndn-cpp/util/DynamicUCharArray.h
index aaa26c1..29fd9d9 100644
--- a/ndn-cpp/util/DynamicUCharArray.h
+++ b/ndn-cpp/util/DynamicUCharArray.h
@@ -7,6 +7,8 @@
#ifndef NDN_DYNAMICUCHARARRAY_H
#define NDN_DYNAMICUCHARARRAY_H
+#include "ndn_memory.h"
+
#ifdef __cplusplus
extern "C" {
#endif