From: Alexander Lamaison <swish@lammy.co.uk>
Make the public headers includable on their own
This commit is contained in:
parent
686db51284
commit
35a9d4bc62
@ -46,6 +46,8 @@
|
|||||||
#ifndef LIBSSH2_PUBLICKEY_H
|
#ifndef LIBSSH2_PUBLICKEY_H
|
||||||
#define LIBSSH2_PUBLICKEY_H 1
|
#define LIBSSH2_PUBLICKEY_H 1
|
||||||
|
|
||||||
|
#include "libssh2.h"
|
||||||
|
|
||||||
typedef struct _LIBSSH2_PUBLICKEY LIBSSH2_PUBLICKEY;
|
typedef struct _LIBSSH2_PUBLICKEY LIBSSH2_PUBLICKEY;
|
||||||
|
|
||||||
typedef struct _libssh2_publickey_attribute {
|
typedef struct _libssh2_publickey_attribute {
|
||||||
|
@ -38,6 +38,8 @@
|
|||||||
#ifndef LIBSSH2_SFTP_H
|
#ifndef LIBSSH2_SFTP_H
|
||||||
#define LIBSSH2_SFTP_H 1
|
#define LIBSSH2_SFTP_H 1
|
||||||
|
|
||||||
|
#include "libssh2.h"
|
||||||
|
|
||||||
#ifndef WIN32
|
#ifndef WIN32
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user