summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBeat Bolli <dev+git@drbeat.li>2018-07-09 19:25:32 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-07-09 21:35:19 (GMT)
commit2e75c8ed85b8c54bf89d8ce4c42748a5cb6a403b (patch)
tree8f8c80175eb6423beb5804d44476f6571b91c09a
parent53f9a3e157dbbc901a02ac2c73346d375e24978c (diff)
downloadgit-2e75c8ed85b8c54bf89d8ce4c42748a5cb6a403b.zip
git-2e75c8ed85b8c54bf89d8ce4c42748a5cb6a403b.tar.gz
git-2e75c8ed85b8c54bf89d8ce4c42748a5cb6a403b.tar.bz2
connect.h: avoid forward declaration of an enum
Include protocol.h to define enum protocol_version. Signed-off-by: Beat Bolli <dev+git@drbeat.li> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--connect.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/connect.h b/connect.h
index 0e69c67..c86f862 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)