From: Timo Sirainen Date: Wed, 28 Aug 2013 21:53:30 +0000 (+0300) Subject: Fixed compiling with old gcc. X-Git-Tag: 2.2.6~123 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=30a5cfac4dc13cc89f36b7b54f889fbb149f7e08;p=thirdparty%2Fdovecot%2Fcore.git Fixed compiling with old gcc. --- diff --git a/src/log/log-error-buffer.c b/src/log/log-error-buffer.c index 05b35dd1a6..7fb13d8521 100644 --- a/src/log/log-error-buffer.c +++ b/src/log/log-error-buffer.c @@ -10,7 +10,7 @@ struct log_error_data { enum log_type type; time_t timestamp; - unsigned char prefix_text[]; + unsigned char prefix_text[FLEXIBLE_ARRAY_MEMBER]; }; struct log_error_buffer {