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

Fix standard visibility macro use
This commit is contained in:
Francis Lachapelle
2017-10-27 15:24:36 -04:00
committed by GitHub
+1 -6
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>