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:
parent
49c2a707ce
commit
a8561db936
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user