mirror of
https://github.com/libssh2/libssh2.git
synced 2025-08-07 08:02:56 +03:00
generate a libssh2_config.h in the example dir
buildconf copies the template to example/ and configure makes sure to generate a proper file from it and the direct_tcpip.c example is the first one to use it - to make sure it builds fine on more paltforms
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
#include <libssh2.h>
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "libssh2_config.h"
|
||||
#endif
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
#ifdef HAVE_WINSOCK2_H
|
||||
|
Reference in New Issue
Block a user