Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
connect.h: avoid forward declaration of an enum
author
Beat Bolli
<dev+git@drbeat.li>
Mon, 9 Jul 2018 19:25:32 +0000
(21:25 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 9 Jul 2018 21:35:19 +0000
(14:35 -0700)
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>
connect.h
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
53f9a3e
)
diff --git
a/connect.h
b/connect.h
index 0e69c6709c9fdb83b4888443f490d79ef504c8a3..c86f862f2f3f9109521523af24749bd735f53df6 100644
(file)
--- 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)