1
0
mirror of https://github.com/libssh2/libssh2.git synced 2026-10-24 03:48:58 +03:00

src: de-duplicate inttypes.h and sys/uio.h includes, inline comment

Closes #2469
This commit is contained in:
Viktor Szakats
2026-08-01 11:12:18 +02:00
parent 03223a026c
commit 7cbdcfbb84
5 changed files with 1 additions and 22 deletions

View File

@@ -37,9 +37,6 @@
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#ifdef HAVE_INTTYPES_H
#include <inttypes.h>
#endif
#include <assert.h>

View File

@@ -33,11 +33,6 @@
#include "libssh2_priv.h"
/* Needed for struct iovec on some platforms */
#ifdef HAVE_SYS_UIO_H
#include <sys/uio.h>
#endif
#if LIBSSH2_RSA
/* *********
* ssh-rsa *

View File

@@ -65,9 +65,8 @@
#include <sys/select.h>
#endif
/* Needed for struct iovec on some platforms */
#ifdef HAVE_SYS_UIO_H
#include <sys/uio.h>
#include <sys/uio.h> /* for struct iovec on some platforms */
#endif
#ifndef _WIN32

View File

@@ -38,13 +38,6 @@
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#ifdef HAVE_INTTYPES_H
#include <inttypes.h>
#endif
/* Needed for struct iovec on some platforms */
#ifdef HAVE_SYS_UIO_H
#include <sys/uio.h>
#endif
#include "transport.h"
#include "channel.h"

View File

@@ -36,11 +36,6 @@
#include <ctype.h>
/* Needed for struct iovec on some platforms */
#ifdef HAVE_SYS_UIO_H
#include <sys/uio.h>
#endif
#include "transport.h"
#include "session.h"
#include "userauth.h"