MINOR: includes: fix a lot of missing or useless includes
authorThierry FOURNIER <tfournier@haproxy.com>
Tue, 16 Dec 2014 14:41:18 +0000 (15:41 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 28 Feb 2015 22:12:32 +0000 (23:12 +0100)
commitac836baad1a14002e80afa0f3f7ef5740f97cfb5
tree5eadc80f77dff5703fbf32b3e78da1a74350b850
parent49f45af9aa02f099b0825de59b84ea17e9b795aa
MINOR: includes: fix a lot of missing or useless includes

These modifications are done for resolving cross-dependent
includes in the upcoming LUA code.

<proto/channel.h> misses <types/channel.h>.

<types/acl.h> doesn't use <types/session.h> because the session
is already declared in the file as undefined pointer.

appsession.c misses <unistd.h> to use "write()".

Declare undefined pointer "struct session" for <types/proxy.h>
and <types/queue.h>. These includes dont need the detail of this
struct.
include/proto/channel.h
include/types/acl.h
include/types/proxy.h
include/types/queue.h
src/appsession.c