summaryrefslogtreecommitdiff
path: root/main/crypt.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/crypt.c')
-rw-r--r--main/crypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/crypt.c b/main/crypt.c
index 924618205..131ebbd60 100644
--- a/main/crypt.c
+++ b/main/crypt.c
@@ -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