]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: cli: add a few missing includes in proto/cli.h
authorWilly Tarreau <w@1wt.eu>
Thu, 22 Nov 2018 10:45:04 +0000 (11:45 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 22 Nov 2018 10:47:53 +0000 (11:47 +0100)
Just found that proto/cli.h doesn't build if types/cli.h is not also
included by the caller, as it uses cli_kw_list is used in arguments.
But it's also true for a few other ones like mworker_proc, stream,
and channel, so let's fix this.

include/proto/cli.h

index c41c8bf9aac9d89d33a340142848f962ebc8cf09..b4cac0d10ccaf4988cb3fa3f5254c28b7ca4f6b2 100644 (file)
 #ifndef _PROTO_CLI_H
 #define _PROTO_CLI_H
 
+#include <types/applet.h>
+#include <types/channel.h>
+#include <types/cli.h>
+#include <types/global.h>
+#include <types/stream.h>
+
 
 void cli_register_kw(struct cli_kw_list *kw_list);