BUILD: buffer: types/{ring.h,checks.h} should include buf.h, not buffer.h

buffer.h relies on proto/activity because it contains some code and not
just type definitions. It must not be included from types files. It
should probably also be split in two if it starts to include a proto.
This causes some circular dependencies at other places.
This commit is contained in:
Willy Tarreau 2020-03-06 18:40:31 +01:00
parent 49c2a707ce
commit a8561db936
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@
#include <common/config.h>
#include <common/mini-clist.h>
#include <common/regex.h>
#include <common/buffer.h>
#include <common/buf.h>
#include <types/connection.h>
#include <types/obj_type.h>

View File

@ -22,7 +22,7 @@
#ifndef _TYPES_RING_H
#define _TYPES_RING_H
#include <common/buffer.h>
#include <common/buf.h>
#include <common/compat.h>
#include <common/config.h>
#include <common/ist.h>