From 14c0c1b9ab2ce6a4f98baf389d712515b7c68933 Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Tue, 11 Jan 2022 00:22:01 +0100 Subject: Some updates on Regex. Will remove it for now, as it is functionally unstable. --- include/stc/alt/cstr.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'include/stc/alt') diff --git a/include/stc/alt/cstr.h b/include/stc/alt/cstr.h index 2271be7c..adad3e3d 100644 --- a/include/stc/alt/cstr.h +++ b/include/stc/alt/cstr.h @@ -24,13 +24,15 @@ /* A string type with short string optimization in C99 with optimal short string * utilization (23 characters with 24 bytes string representation). */ -#ifndef CSTR_INCLUDED -#define CSTR_INCLUDED +#ifndef CSTR_H_INCLUDED +#define CSTR_H_INCLUDED #include -#include +#include /* malloc */ #include -#include +#include +#include /* vsnprintf */ +#include typedef struct { char* data; size_t size, cap; } _cstr_rep_t; -- cgit v1.2.3