From: Beat Bolli Date: Mon, 9 Jul 2018 19:25:32 +0000 (+0200) Subject: connect.h: avoid forward declaration of an enum X-Git-Tag: v2.19.0-rc0~131^2~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2e75c8ed85b8c54bf89d8ce4c42748a5cb6a403b;p=thirdparty%2Fgit.git connect.h: avoid forward declaration of an enum Include protocol.h to define enum protocol_version. Signed-off-by: Beat Bolli Signed-off-by: Junio C Hamano --- diff --git a/connect.h b/connect.h index 0e69c6709c..c86f862f2f 100644 --- a/connect.h +++ b/connect.h @@ -1,6 +1,8 @@ #ifndef CONNECT_H #define CONNECT_H +#include "protocol.h" /* for enum protocol_version */ + #define CONNECT_VERBOSE (1u << 0) #define CONNECT_DIAG_URL (1u << 1) #define CONNECT_IPV4 (1u << 2)