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

(fix) Fix SIGSEGV and compilation due to missing include crypt.h
This commit is contained in:
Extra Fu
2019-07-21 07:10:49 -04:00
committed by GitHub
+3
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>