summaryrefslogtreecommitdiff
path: root/src/sysdeps/tryarc4random_addrandom.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sysdeps/tryarc4random_addrandom.c')
-rw-r--r--src/sysdeps/tryarc4random_addrandom.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/sysdeps/tryarc4random_addrandom.c b/src/sysdeps/tryarc4random_addrandom.c
new file mode 100644
index 0000000..e89a65c
--- /dev/null
+++ b/src/sysdeps/tryarc4random_addrandom.c
@@ -0,0 +1,12 @@
+/* ISC license. */
+
+#undef _POSIX_C_SOURCE
+#undef _XOPEN_SOURCE
+
+#include <stdlib.h>
+
+int main (void)
+{
+ arc4random_addrandom("", 1) ;
+ return 0 ;
+}