X-Git-Url: https://git.draconx.ca/gitweb/cdecl99.git/blobdiff_plain/4ac33123a76ec76911d599f212e1b47412730614..8b40c60072c0549d18afb1e19fa28ee18036957c:/src/error.c diff --git a/src/error.c b/src/error.c index 3d0a38e..093f56c 100644 --- a/src/error.c +++ b/src/error.c @@ -20,6 +20,7 @@ #include #include #include + #include #include @@ -32,7 +33,7 @@ static gl_tls_key_t tls_key; struct err_state { struct cdecl_error err; size_t nstr; - char str[]; + char str[FLEXIBLE_ARRAY_MEMBER]; }; /* This error is reserved for extremely dire out-of-memory conditions. */