Fix compilation for the yamux protocol.

This commit is contained in:
Jose Marcial Vieira Bisneto 2017-10-11 23:15:12 -03:00
parent 6b185e31bd
commit 7564a4b089
No known key found for this signature in database
GPG key ID: 103E935E7E6E831E
2 changed files with 2 additions and 1 deletions

View file

@ -16,4 +16,4 @@ struct yamux_config
{\
.accept_backlog=0x100,\
.max_stream_window_size=YAMUX_DEFAULT_WINDOW\
})\
})

View file

@ -1,4 +1,5 @@
#include <string.h>
#include <unistd.h>
#include "varint.h"
#include "libp2p/yamux/session.h"
#include "libp2p/net/protocol.h"