Skip to content

Commit

Permalink
connect.h: avoid forward declaration of an enum
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
bbolli authored and dscho committed Aug 21, 2018
1 parent 53f9a3e commit 7d6af04
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions connect.h
@@ -1,6 +1,8 @@
#ifndef CONNECT_H
#define CONNECT_H

#include "protocol.h"

#define CONNECT_VERBOSE (1u << 0)
#define CONNECT_DIAG_URL (1u << 1)
#define CONNECT_IPV4 (1u << 2)
Expand Down

0 comments on commit 7d6af04

Please sign in to comment.