Merge pull request #258 from the-nic/bugfix/segfault-crypt

(fix) Fix SIGSEGV and compilation due to missing include crypt.h
pull/259/head
Extra Fu 2019-07-21 07:10:49 -04:00 committed by GitHub
commit f55f62926c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -27,6 +27,9 @@
#include <fcntl.h>
#include <unistd.h>
#if !defined(__OpenBSD__) && !defined(__FreeBSD__)
#include <crypt.h>
#endif
#if defined(HAVE_GNUTLS)
#include <gnutls/gnutls.h>