Fix compilation for the yamux protocol.
This commit is contained in:
parent
6b185e31bd
commit
7564a4b089
2 changed files with 2 additions and 1 deletions
|
@ -16,4 +16,4 @@ struct yamux_config
|
||||||
{\
|
{\
|
||||||
.accept_backlog=0x100,\
|
.accept_backlog=0x100,\
|
||||||
.max_stream_window_size=YAMUX_DEFAULT_WINDOW\
|
.max_stream_window_size=YAMUX_DEFAULT_WINDOW\
|
||||||
})\
|
})
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <unistd.h>
|
||||||
#include "varint.h"
|
#include "varint.h"
|
||||||
#include "libp2p/yamux/session.h"
|
#include "libp2p/yamux/session.h"
|
||||||
#include "libp2p/net/protocol.h"
|
#include "libp2p/net/protocol.h"
|
||||||
|
|
Loading…
Reference in a new issue