aboutsummaryrefslogtreecommitdiff
path: root/lib/strerror.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/strerror.c')
-rw-r--r--lib/strerror.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/strerror.c b/lib/strerror.c
index 0a883421e..fcb617cf2 100644
--- a/lib/strerror.c
+++ b/lib/strerror.c
@@ -34,9 +34,6 @@
#endif
#include <curl/curl.h>
-#include <stdlib.h>
-#include <string.h>
-#include <errno.h>
#ifdef USE_LIBIDN
#include <idna.h>
@@ -387,6 +384,9 @@ curl_share_strerror(CURLSHcode error)
case CURLSHE_NOMEM:
return "Out of memory";
+ case CURLSHE_NOT_BUILT_IN:
+ return "Feature not enabled in this library";
+
case CURLSHE_LAST:
break;
}