[master] 703e57e99 config.h must be the first include

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Tue Sep 1 15:40:06 UTC 2020


commit 703e57e99ced24ddf5f2e868358d30e96d9a28ac
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Tue Sep 1 17:35:37 2020 +0200

    config.h must be the first include
    
    It may define macros recognized by other includes.

diff --git a/bin/varnishtest/vtc_sess.c b/bin/varnishtest/vtc_sess.c
index ae2284687..11328c23c 100644
--- a/bin/varnishtest/vtc_sess.c
+++ b/bin/varnishtest/vtc_sess.c
@@ -1,11 +1,11 @@
 
+#include "config.h"
+
 #include <sys/types.h>
 
 #include <stdlib.h>
 #include <string.h>
 
-#include "config.h"
-
 #include "vtc.h"
 
 struct vtc_sess {


More information about the varnish-commit mailing list