ecdh wasn't actually included so it wasn't being compiled
diff --git a/cryptography/hazmat/bindings/openssl/binding.py b/cryptography/hazmat/bindings/openssl/binding.py
index f0ff327..aa0525f 100644
--- a/cryptography/hazmat/bindings/openssl/binding.py
+++ b/cryptography/hazmat/bindings/openssl/binding.py
@@ -55,6 +55,7 @@
         "dh",
         "dsa",
         "ec",
+        "ecdh",
         "ecdsa",
         "engine",
         "err",
diff --git a/cryptography/hazmat/bindings/openssl/ecdh.py b/cryptography/hazmat/bindings/openssl/ecdh.py
index 6f2fb5b..adba015 100644
--- a/cryptography/hazmat/bindings/openssl/ecdh.py
+++ b/cryptography/hazmat/bindings/openssl/ecdh.py
@@ -21,8 +21,6 @@
 
 TYPES = """
 static const int Cryptography_HAS_ECDH;
-
-typedef ... ECDH_METHOD;
 """
 
 FUNCTIONS = """
@@ -42,7 +40,7 @@
 
 CUSTOMIZATIONS = """
 #ifdef OPENSSL_NO_ECDH
-static const Cryptography_HAS_ECDH = 0;
+static const long Cryptography_HAS_ECDH = 0;
 typedef void ECDH_METHOD;
 
 int (*ECDH_compute_key)(void *, size_t, const EC_POINT *, EC_KEY *,
@@ -57,7 +55,7 @@
 void *(*ECDH_get_ex_data)(EC_KEY *, int) = NULL;
 
 #else
-static const Cryptography_HAS_ECDH = 1;
+static const long Cryptography_HAS_ECDH = 1;
 #endif
 """