mirror of
https://github.com/clearml/dropbear
synced 2025-01-31 19:07:28 +00:00
make writev #include consistent for variable declarations too
This commit is contained in:
parent
52adbb34c3
commit
e7504b3311
2
packet.c
2
packet.c
@ -57,7 +57,7 @@ static void buf_compress(buffer * dest, buffer * src, unsigned int len);
|
||||
void write_packet() {
|
||||
|
||||
ssize_t written;
|
||||
#ifdef HAVE_WRITEV
|
||||
#if defined(HAVE_WRITEV) && (defined(IOV_MAX) || defined(UIO_MAXIOV))
|
||||
/* 50 is somewhat arbitrary */
|
||||
unsigned int iov_count = 50;
|
||||
struct iovec iov[50];
|
||||
|
Loading…
Reference in New Issue
Block a user