aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cynapses.org>2011-01-01 20:20:42 +0100
committerAndreas Schneider <asn@cynapses.org>2011-01-01 20:53:54 +0100
commit52d6b7b9149b913872de08948bdd95603a4698b9 (patch)
tree20af5c132967c8ce7f4b0fa9a9151c8802e265ce /tests
parent5331489581dd4ca23a933452b6a9cbefa28691e1 (diff)
downloadlibssh-52d6b7b9149b913872de08948bdd95603a4698b9.tar.gz
libssh-52d6b7b9149b913872de08948bdd95603a4698b9.tar.xz
libssh-52d6b7b9149b913872de08948bdd95603a4698b9.zip
tests: Fixed includes of torture_options for windows.
Diffstat (limited to 'tests')
-rw-r--r--tests/unittests/torture_options.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/unittests/torture_options.c b/tests/unittests/torture_options.c
index 401e5935..4d20c216 100644
--- a/tests/unittests/torture_options.c
+++ b/tests/unittests/torture_options.c
@@ -1,8 +1,12 @@
#define LIBSSH_STATIC
+#ifndef _WIN32
+# include <pwd.h>
+#endif
+
#include "torture.h"
-#include "options.c"
-#include "misc.c"
+#include <libssh/session.h>
+#include <libssh/misc.h>
static void setup(void **state) {
ssh_session session = ssh_new();