-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
curl/urlapi.h missing include on curl.h #3438
Comments
In file included from :1: |
We can probably view this as a bug, but note that all documentation says you should |
This allows programs to include curl/urlapi.h directly. Reported-by: Ben Kohler Fixes #3438
I believe the new urlapi.h should have #include "curl.h" in it. Without that change, #include "curl/urlapi.h" throws ugly errors.
I did this
cc -c -o tm -x c - <<< "#include "curl/urlapi.h""
I expected the following
return success
curl/libcurl version
curl 7.63.0 (x86_64-pc-linux-gnu) libcurl/7.63.0 OpenSSL/1.1.0j zlib/1.2.11
Release-Date: 2018-12-12
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features: AsynchDNS IPv6 Largefile NTLM SSL libz TLS-SRP UnixSockets HTTPS-proxy
operating system
Gentoo Linux
The text was updated successfully, but these errors were encountered: