Merge pull request #238 from drscream/fix/standard-macro

Fix standard visibility macro use
pull/218/merge
Francis Lachapelle 2017-10-27 15:24:36 -04:00 committed by GitHub
commit c7e9b0e3a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 6 deletions

View File

@ -23,16 +23,11 @@
* Boston, MA 02111-1307, USA.
*/
#if !defined(__OpenBSD__) && !defined(__FreeBSD__)
#include <crypt.h>
#endif
#define _XOPEN_SOURCE 600
#include <fcntl.h>
#include <unistd.h>
#define _XOPEN_SOURCE 1
#include <unistd.h>
#if defined(HAVE_GNUTLS)
#include <gnutls/gnutls.h>
#include <gnutls/crypto.h>