can copy this file (plus chacha_private.h) directly and reuse it
trivially. Well, as long as they have a getentropy() as well..
ok beck
-/* $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>
#include <sys/time.h>
#include <sys/mman.h>
+#ifdef __OpenBSD__
#include "thread_private.h"
+#endif /* __OpenBSD__ */
#define KEYSTREAM_ONLY
#include "chacha_private.h"