summaryrefslogtreecommitdiffstats
path: root/libssh/auth.c
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-06-09 12:03:00 +0000
committerAndreas Schneider <mail@cynapses.org>2009-06-09 12:03:00 +0000
commit5a755a8219fb3d1d6337300178b0572bd7397fe9 (patch)
tree2c51362c63c54a7d628afe9bff56ffd33def2aa2 /libssh/auth.c
parent910689126adb65b7675965ce1c1d00261ffecc4c (diff)
downloadlibssh-5a755a8219fb3d1d6337300178b0572bd7397fe9.tar.gz
libssh-5a755a8219fb3d1d6337300178b0572bd7397fe9.tar.xz
libssh-5a755a8219fb3d1d6337300178b0572bd7397fe9.zip
Fix build warnings.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@774 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'libssh/auth.c')
-rw-r--r--libssh/auth.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/libssh/auth.c b/libssh/auth.c
index 0f0f34e5..0fdf4e2c 100644
--- a/libssh/auth.c
+++ b/libssh/auth.c
@@ -22,12 +22,17 @@
* MA 02111-1307, USA.
*/
-#include "libssh/priv.h"
-#include "libssh/ssh2.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+#ifndef _WIN32
+#include <arpa/inet.h>
+#endif
+
+#include "libssh/priv.h"
+#include "libssh/ssh2.h"
+
/** \defgroup ssh_auth SSH Authentication functions
* \brief functions to authenticate to servers
*/