@@@ so much mess
[mLib] / struct / dstr.h
index 1c43cb7..fedc48c 100644 (file)
@@ -47,6 +47,7 @@
 #include <stdarg.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 
 #ifndef MLIB_ALLOC_H
 #  include "alloc.h"
@@ -71,6 +72,8 @@ typedef struct dstr {
 
 #define DSTR_INIT { 0, 0, 0, &arena_stdlib } /* How to initialize one */
 
+extern const struct gprintf_ops dstr_printops;
+
 /*----- Functions provided ------------------------------------------------*/
 
 /* --- @dstr_create@ --- *