summaryrefslogtreecommitdiffstats
path: root/crypto/uid.c
diff options
context:
space:
mode:
authorjrmarino <draco@marino.st>2016-10-21 15:48:31 +0200
committerRich Salz <rsalz@openssl.org>2016-10-22 10:25:17 +0200
commit2df7f11fad886cf54c98a17e95932d9b5987f488 (patch)
treec5b63d5f1507abdec36fb0c2de7ae630386594c0 /crypto/uid.c
parentEfence is antiquated, remove all traces of using it (diff)
downloadopenssl-2df7f11fad886cf54c98a17e95932d9b5987f488.tar.xz
openssl-2df7f11fad886cf54c98a17e95932d9b5987f488.zip
Fix support for DragonFly BSD
The __DragonFly__ macros were introduced in issue #1546 along with a function naming fix, but it was decided they should be handled separately. Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1765)
Diffstat (limited to 'crypto/uid.c')
-rw-r--r--crypto/uid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/uid.c b/crypto/uid.c
index 12df8a4e87..9756d51850 100644
--- a/crypto/uid.c
+++ b/crypto/uid.c
@@ -10,7 +10,7 @@
#include <openssl/crypto.h>
#include <openssl/opensslconf.h>
-#if defined(__OpenBSD__) || (defined(__FreeBSD__) && __FreeBSD__ > 2)
+#if defined(__OpenBSD__) || (defined(__FreeBSD__) && __FreeBSD__ > 2) || defined(__DragonFly__)
# include OPENSSL_UNISTD