Skip to content

Conversation

@TobaYn3
Copy link
Contributor

@TobaYn3 TobaYn3 commented Aug 10, 2021

If including pcap.h from libpcap before httplib.h, INVALID_SOCKET has already been defined.
Therefore, I added an ifndef.

@yhirose
Copy link
Owner

yhirose commented Aug 10, 2021

@TobaYn3, thank you for the improvement!

@yhirose yhirose merged commit a58f042 into yhirose:master Aug 10, 2021
@TobaYn3 TobaYn3 deleted the invalid_socket branch August 10, 2021 12:40
ExclusiveOrange pushed a commit to ExclusiveOrange/cpp-httplib-exor that referenced this pull request May 2, 2023
…ibpcap) (yhirose#1021)

Co-authored-by: Thomas Behn <Thomas.Behn@meinberg.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants