]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: resolvers: define missing types in resolvers.h
authorWilly Tarreau <w@1wt.eu>
Wed, 6 Oct 2021 07:18:37 +0000 (09:18 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 6 Oct 2021 23:36:51 +0000 (01:36 +0200)
proxy, server, stream_interface and list were used but not defined. Let's
define them as well as act_rule and drop action-t.h.

include/haproxy/resolvers.h

index f82406de915ed58094e0384b0b5a2f62fb3ab954..70211a82b55ccb718222649b6391401c3b434b25 100644 (file)
 #ifndef _HAPROXY_RESOLVERS_H
 #define _HAPROXY_RESOLVERS_H
 
-#include <haproxy/action-t.h>
 #include <haproxy/resolvers-t.h>
 
+struct proxy;
+struct server;
+struct stream_interface;
+struct act_rule;
+struct list;
+
 extern struct list sec_resolvers;
 extern unsigned int resolv_failed_resolutions;