1
0
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:
Daniel Stenberg
2010-01-13 13:46:56 +01:00
parent 11a114ee7c
commit e3d8c1cfed
3 changed files with 6 additions and 2 deletions

View File

@@ -1,5 +1,9 @@
#include <libssh2.h>
#ifdef HAVE_CONFIG_H
#include "libssh2_config.h"
#endif
#include <sys/types.h>
#ifdef HAVE_WINSOCK2_H