Skip to content
Snippets Groups Projects
Commit 7b668297 authored by Guido Falsi's avatar Guido Falsi
Browse files

BuildSystem: Fix build on FreeBSD due to missing crypt.h

FreeBSD does not include a crypt.h include file. Definitions for
crypt() and crypt_r() are in unistd.h

ASTERISK-27042 #close

Change-Id: Ib307ee5e384870c6af50efa89fb73722dd0c3a7e
parent 9f054955
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,7 @@
#include "asterisk.h"
#include <unistd.h>
#if defined(HAVE_CRYPT_R)
#if defined(HAVE_CRYPT_R) && !defined(__FreeBSD__)
#include <crypt.h>
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment