summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/curl/interface.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/curl/interface.c b/ext/curl/interface.c
index 3602dde15d..0dfdee2ec2 100644
--- a/ext/curl/interface.c
+++ b/ext/curl/interface.c
@@ -594,6 +594,9 @@ PHP_MINIT_FUNCTION(curl)
#endif
REGISTER_CURL_CONSTANT(CURLPROXY_HTTP);
+#ifdef CURLPROXY_SOCKS4
+ REGISTER_CURL_CONSTANT(CURLPROXY_SOCKS4);
+#endif
REGISTER_CURL_CONSTANT(CURLPROXY_SOCKS5);
REGISTER_CURL_CONSTANT(CURL_NETRC_OPTIONAL);