Skip to content

add missing #include for strcasecmp #1744

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

Closed
wants to merge 1 commit into from

Conversation

divinity76
Copy link

Posix specifications say you need strings.h to use strcasecmp

  • it happens to work on most Linux systems without it, but that's basically just a compiler include bug (i think?)
  • Cygwin gcc actually requires strings.h, compiling on Cygwin is how I noticed strings.h was missing

Posix specifications say you need strings.h to use strcasecmp

- it happens to work on most Linux systems without it, but that's basically just a compiler include bug (i think?)
- Cygwin gcc actually requires strings.h, compiling on Cygwin is how I noticed strings.h was missing
@yhirose
Copy link
Owner

yhirose commented Dec 23, 2023

@divinity76 thanks for the report. I resolved this issue with removing the 'strcasecmp' dependency.

@divinity76 divinity76 deleted the patch-1 branch December 23, 2023 17:22
zhaokeli pushed a commit to zhaokeli/cpp-httplib that referenced this pull request Oct 10, 2024
(cherry picked from commit ad9f642)
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.

2 participants