Merge pull request #238 from drscream/fix/standard-macro
Fix standard visibility macro use
This commit is contained in:
commit
c7e9b0e3a6
|
@ -23,16 +23,11 @@
|
||||||
* Boston, MA 02111-1307, USA.
|
* Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if !defined(__OpenBSD__) && !defined(__FreeBSD__)
|
#define _XOPEN_SOURCE 600
|
||||||
#include <crypt.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#define _XOPEN_SOURCE 1
|
|
||||||
#include <unistd.h>
|
|
||||||
|
|
||||||
#if defined(HAVE_GNUTLS)
|
#if defined(HAVE_GNUTLS)
|
||||||
#include <gnutls/gnutls.h>
|
#include <gnutls/gnutls.h>
|
||||||
#include <gnutls/crypto.h>
|
#include <gnutls/crypto.h>
|
||||||
|
|
Loading…
Reference in a new issue