summaryrefslogtreecommitdiffstats
path: root/hicn-light/src/hicn/api/api.c
diff options
context:
space:
mode:
Diffstat (limited to 'hicn-light/src/hicn/api/api.c')
-rw-r--r--hicn-light/src/hicn/api/api.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/hicn-light/src/hicn/api/api.c b/hicn-light/src/hicn/api/api.c
index 9b3882379..e139734f5 100644
--- a/hicn-light/src/hicn/api/api.c
+++ b/hicn-light/src/hicn/api/api.c
@@ -27,6 +27,11 @@
#include <stdio.h> // XXX debug
+#ifndef bzero
+#define bzero(b,len) (memset((b), '\0', (len)), (void) 0)
+#endif
+
+
#include <hicn/api/api.h>
#include <hicn/api/commands.h>
#include <hicn/api/ip_address.h>