diff options
-rw-r--r-- | libssh2-sys/build.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libssh2-sys/build.rs b/libssh2-sys/build.rs index a4151bd..d4bd6a0 100644 --- a/libssh2-sys/build.rs +++ b/libssh2-sys/build.rs @@ -92,6 +92,7 @@ fn main() { cfg.define("LIBSSH2_OPENSSL", None); cfg.define("HAVE_LIBCRYPT32", None); cfg.define("HAVE_EVP_AES_128_CTR", None); + cfg.define("HAVE_POLL", None); cfg.file("libssh2/src/openssl.c"); @@ -106,10 +107,6 @@ fn main() { cfg.include(&build); } - if target.contains("haiku") { - cfg.define("HAVE_POLL", None); - } - /* Enable newer diffie-hellman-group-exchange-sha1 syntax */ cfg.define("LIBSSH2_DH_GEX_NEW", None); |