Skip to content
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

Include <strings.h> header file #101

Merged
merged 3 commits into from
Oct 27, 2022
Merged

Include <strings.h> header file #101

merged 3 commits into from
Oct 27, 2022

Conversation

youpong
Copy link
Contributor

@youpong youpong commented Oct 26, 2022

Description

Include the <strings.h> header file containing the strncasecmp() declaration.

Related Issue

#99

@youpong youpong requested a review from oetiker as a code owner October 26, 2022 19:13
@oetiker
Copy link
Owner

oetiker commented Oct 27, 2022

please extend configure.ac to test this ...

@youpong
Copy link
Contributor Author

youpong commented Oct 27, 2022

The configure script already checks for the presence of the header file strings.h.

config.h.in:15

/* Define to 1 if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H

@oetiker
Copy link
Owner

oetiker commented Oct 27, 2022 via email

@youpong
Copy link
Contributor Author

youpong commented Oct 27, 2022

Added the ifdef.

@oetiker oetiker merged commit 96ca6cb into oetiker:master Oct 27, 2022
@oetiker
Copy link
Owner

oetiker commented Oct 27, 2022

thanks!

@youpong youpong deleted the fix-#99 branch October 27, 2022 15:43
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