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

only use crypt.h if i_crypt is defined (and check in unistd for crypt) #146

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rhelmot
Copy link

@rhelmot rhelmot commented Jun 19, 2024

On FreeBSD, crypt is defined in unistd.h and crypt.h is not present. This patch allows cross builds for FreeBSD by determining whether to include crypt.h based on the i_crypt variable. It additionally adds unistd.h to the list of headers to include for testing whether crypt is available. Perl already includes unistd.h in all the places that use crypt.

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.

None yet

2 participants