Skip to content

Clean duplicate headers check #12710

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

Merged
merged 1 commit into from
Nov 18, 2023
Merged

Clean duplicate headers check #12710

merged 1 commit into from
Nov 18, 2023

Conversation

petk
Copy link
Member

@petk petk commented Nov 17, 2023

  • AC_CHECK_HEADERS already includes the header(s) listed in the first argument, so additional net/if.h is redundant.
  • The crypt.h is checked two times and HAVE_CRYPT_H is only needed in ext/standard.
  • Remove duplicate <string.h> in ext/standard
  • Remove duplicate <string.h> in getaddrinfo check in configure.ac

- AC_CHECK_HEADERS already includes the header(s) listed in the first
  argument, so additional net/if.h is redundant.
- The crypt.h is checked two times and HAVE_CRYPT_H is only needed in
  ext/standard.
- Remove duplicate <string.h> in ext/standard
- Remove duplicate <string.h> in getaddrinfo check in configure.ac
Copy link
Member

@Girgias Girgias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Girgias Girgias merged commit a35a69f into php:master Nov 18, 2023
@petk petk deleted the patch-headers branch November 18, 2023 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants