html-error: move common.h inclusion back to top

this seems to cause an implicit declaration of snprintf() thanks to
feature test macro hell.
This commit is contained in:
rofl0r 2020-10-19 20:05:14 +01:00
parent e20aa221ff
commit cc0a7eb9a2

View File

@ -20,10 +20,9 @@
* HTML error pages with variable substitution.
*/
#include <regex.h>
#include "common.h"
#include "main.h"
#include "common.h"
#include "buffer.h"
#include "conns.h"
#include "heap.h"
@ -32,6 +31,8 @@
#include "utils.h"
#include "conf.h"
#include <regex.h>
/*
* Add an error number -> filename mapping to the errorpages list.
*/