Skip to content

curl/urlapi.h missing include on curl.h #3438

@benkohler

Description

@benkohler

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions