summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data_blob.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/data_blob.c b/data_blob.c
index 834d810..a884f13 100644
--- a/data_blob.c
+++ b/data_blob.c
@@ -20,9 +20,12 @@
#include <string.h>
-#include "replace.h"
#include "data_blob.h"
+#ifndef ZERO_STRUCT
+#define ZERO_STRUCT(x) memset((char *)&(x), 0, sizeof(x))
+#endif
+
const DATA_BLOB data_blob_null = { NULL, 0 };
/**