Skip to content

Commit 2e75c8e

Browse files
bbolligitster
authored andcommitted
connect.h: avoid forward declaration of an enum
Include protocol.h to define enum protocol_version. Signed-off-by: Beat Bolli <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 53f9a3e commit 2e75c8e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

connect.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#ifndef CONNECT_H
22
#define CONNECT_H
33

4+
#include "protocol.h" /* for enum protocol_version */
5+
46
#define CONNECT_VERBOSE (1u << 0)
57
#define CONNECT_DIAG_URL (1u << 1)
68
#define CONNECT_IPV4 (1u << 2)

0 commit comments

Comments
 (0)