Skip to content

FreeBSD 14 "owns" struct http_req #11163

@bagder

Description

@bagder

(Found here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271526, reported by "O. Hartmann")

Just updating ports: curl 8.0.1 -> 8.1


[...]
In file included from cf-socket.c:56:
In file included from ../lib/urldata.h:168:
../lib/http.h:263:8: error: redefinition of 'http_req'
struct http_req {
       ^
/usr/include/netinet/tcp.h:466:8: note: previous definition is here
struct http_req {

I would say this is a bug in their netinet/tcp.h header file, but I doubt that helps. We should rename our struct.

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