Allow older Linux dist to build curl #2160

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
Contributor

PerMalmberg commented Dec 6, 2017

This PR relates to the mail thread "Compile errors on update to 7.57.0" in which Daniel graciously helped me track down the solution to my problem where curl no longer builds on CentOS 4.8 with gcc 4.8.5.

Added include of netinet/in.h before linux/tcp.h to allow build on ol…
…der Linux dists (specifically CentOS 4.8 on gcc 4.8.5)
Owner

bagder commented Dec 7, 2017

Thanks!

@bagder bagder closed this in c103cac Dec 7, 2017

JohnDeHelian pushed a commit to JohnDeHelian/curl that referenced this pull request Dec 7, 2017

include: get netinet/in.h before linux/tcp.h
... to allow build on older Linux dists (specifically CentOS 4.8 on gcc
4.8.5)

Closes #2160
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment