chiark / gitweb /
@@@ so much mess
[mLib] / struct / dstr.h
index 1c43cb720e1b74ab1b61b95627af809da6691a22..fedc48c70219759844f50ec34fa538d756181a0f 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@ --- *