diff options
Diffstat (limited to 'data_blob.c')
-rw-r--r-- | data_blob.c | 5 |
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 }; /** |