From 7564a4b089f9d205beafddf550d7a51bf519658a Mon Sep 17 00:00:00 2001 From: Jose Marcial Vieira Bisneto Date: Wed, 11 Oct 2017 23:15:12 -0300 Subject: [PATCH] Fix compilation for the yamux protocol. --- include/libp2p/yamux/config.h | 2 +- yamux/yamux.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/libp2p/yamux/config.h b/include/libp2p/yamux/config.h index bb6eb80..66b43a1 100644 --- a/include/libp2p/yamux/config.h +++ b/include/libp2p/yamux/config.h @@ -16,4 +16,4 @@ struct yamux_config {\ .accept_backlog=0x100,\ .max_stream_window_size=YAMUX_DEFAULT_WINDOW\ -})\ +}) diff --git a/yamux/yamux.c b/yamux/yamux.c index 0c50508..dda9fb6 100644 --- a/yamux/yamux.c +++ b/yamux/yamux.c @@ -1,4 +1,5 @@ #include +#include #include "varint.h" #include "libp2p/yamux/session.h" #include "libp2p/net/protocol.h"