summaryrefslogtreecommitdiffstats
path: root/crypto/openssl/crypto/dso
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2015-01-09 00:58:20 +0000
committerjkim <jkim@FreeBSD.org>2015-01-09 00:58:20 +0000
commit27e2f26e1531b869ff531fab5ac3ef06aae4d4f4 (patch)
tree11138272980644b3ccdbfe7c0ebead1536be5efb /crypto/openssl/crypto/dso
parent3e6f1de34088867465b6a1a87fb10c25fc811e50 (diff)
downloadFreeBSD-src-27e2f26e1531b869ff531fab5ac3ef06aae4d4f4.zip
FreeBSD-src-27e2f26e1531b869ff531fab5ac3ef06aae4d4f4.tar.gz
MFC: r276861, r276863
Merge OpenSSL 1.0.1k.
Diffstat (limited to 'crypto/openssl/crypto/dso')
-rw-r--r--crypto/openssl/crypto/dso/dso_dlfcn.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/crypto/openssl/crypto/dso/dso_dlfcn.c b/crypto/openssl/crypto/dso/dso_dlfcn.c
index 4a56aac..faa9d76 100644
--- a/crypto/openssl/crypto/dso/dso_dlfcn.c
+++ b/crypto/openssl/crypto/dso/dso_dlfcn.c
@@ -60,10 +60,8 @@
that handle _GNU_SOURCE and other similar macros. Defining it later
is simply too late, because those headers are protected from re-
inclusion. */
-#ifdef __linux
-# ifndef _GNU_SOURCE
-# define _GNU_SOURCE /* make sure dladdr is declared */
-# endif
+#ifndef _GNU_SOURCE
+# define _GNU_SOURCE /* make sure dladdr is declared */
#endif
#include <stdio.h>
OpenPOWER on IntegriCloud