summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libc/crypt/arc4random.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/crypt/arc4random.c b/lib/libc/crypt/arc4random.c
index 9460af1e542..4fb57e08587 100644
--- a/lib/libc/crypt/arc4random.c
+++ b/lib/libc/crypt/arc4random.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: arc4random.c,v 1.41 2014/07/12 13:24:54 deraadt Exp $ */
+/* $OpenBSD: arc4random.c,v 1.42 2014/07/12 18:57:41 deraadt Exp $ */
/*
* Copyright (c) 1996, David Mazieres <dm@uun.org>
@@ -34,7 +34,9 @@
#include <sys/time.h>
#include <sys/mman.h>
+#ifdef __OpenBSD__
#include "thread_private.h"
+#endif /* __OpenBSD__ */
#define KEYSTREAM_ONLY
#include "chacha_private.h"