diff --git a/envfiles/curl-7.50.3 b/envfiles/curl-7.50.3
index 783678788459e39672d11e43ec67c570db5a0563..876589c69c41089cbad1d952cb5726f840f224c3 100644
--- a/envfiles/curl-7.50.3
+++ b/envfiles/curl-7.50.3
@@ -17,6 +17,9 @@ set CURL_LEVEL 7.50
 set CURL_SUBVER 3
 set CURL_CURPATH /share/apps/bin/curl
 
+setenv C_INCLUDE_PATH $CURL_CURPATH/$CURL_LEVEL.$CURL_SUBVER/include/curl
+setenv CPLUS_INCLUDE_PATH $CURL_CURPATH/$CURL_LEVEL.$CURL_SUBVER/include/curl
+
 prepend-path PATH       $CURL_CURPATH/$CURL_LEVEL.$CURL_SUBVER/bin
 prepend-path LD_LIBRARY_PATH  $CURL_CURPATH/$CURL_LEVEL.$CURL_SUBVER/lib
 prepend-path MANPATH      $CURL_CURPATH/$CURL_LEVEL.$CURL_SUBVER/share/man
diff --git a/envfiles/curldev b/envfiles/curldev
index 4b214a4548f22ee6150066acde60694f8221ae09..01fe8c935c31e25f8b2acfd93cec325eb03ecd7a 100644
--- a/envfiles/curldev
+++ b/envfiles/curldev
@@ -16,6 +16,10 @@ set is_module_rm [module-info mode remove]
 set CURL_LEVEL masterbranch
 set CURL_CURPATH /share/apps/bin/curl
 
+
+setenv C_INCLUDE_PATH $CURL_CURPATH/$CURL_LEVEL/include/curl
+setenv CPLUS_INCLUDE_PATH $CURL_CURPATH/$CURL_LEVEL/include/curl
+
 prepend-path PATH       $CURL_CURPATH/$CURL_LEVEL/bin
 prepend-path LD_LIBRARY_PATH  $CURL_CURPATH/$CURL_LEVEL/lib
 prepend-path MANPATH      $CURL_CURPATH/$CURL_LEVEL/share/man