X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/mLib/blobdiff_plain/c7da785d89746cbcdc25bdea0fd66156d4c61cb9..e63124bc579bfd97cfe2f620ddd84df9f20477d8:/struct/dstr.h diff --git a/struct/dstr.h b/struct/dstr.h index 1c43cb7..fedc48c 100644 --- a/struct/dstr.h +++ b/struct/dstr.h @@ -47,6 +47,7 @@ #include #include #include +#include #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@ --- *