pkgsrc-ng/devel/nspr/patches/patch-nsprpub_pr_src_md_unix_uxrng.c
2014-08-11 13:27:10 +02:00

14 lines
592 B
C
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

$NetBSD: patch-nsprpub_pr_src_md_unix_uxrng.c,v 1.3 2013/07/20 08:57:20 ryoon Exp $
--- nsprpub/pr/src/md/unix/uxrng.c.orig 2012-05-18 21:55:29.000000000 +0000
+++ nspr/pr/src/md/unix/uxrng.c
@@ -94,7 +94,7 @@ GetHighResClock(void *buf, size_t maxbyt
#elif (defined(LINUX) || defined(FREEBSD) || defined(__FreeBSD_kernel__) \
|| defined(NETBSD) || defined(__NetBSD_kernel__) || defined(OPENBSD) \
- || defined(SYMBIAN) || defined(__GNU__))
+ || defined(SYMBIAN) || defined(__GNU__)) || defined(__DragonFly__)
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>