The include of action.h are misplaced.
#define _PROTO_PROTO_HTTP_H
#include <common/config.h>
+#include <types/action.h>
#include <types/proto_http.h>
#include <types/stream.h>
#include <types/task.h>
#define _PROTO_PROTO_TCP_H
#include <common/config.h>
+#include <types/action.h>
#include <types/task.h>
#include <proto/stick_table.h>
#include <common/mini-clist.h>
#include <common/regex.h>
-#include <types/action.h>
#include <types/hdr_idx.h>
/* These are the flags that are found in txn->flags */