summaryrefslogtreecommitdiffstats
path: root/kdm/backend/dm_auth.h
diff options
context:
space:
mode:
Diffstat (limited to 'kdm/backend/dm_auth.h')
-rw-r--r--kdm/backend/dm_auth.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/kdm/backend/dm_auth.h b/kdm/backend/dm_auth.h
index ccf4697b8..28725ee8d 100644
--- a/kdm/backend/dm_auth.h
+++ b/kdm/backend/dm_auth.h
@@ -96,4 +96,10 @@ void AddOtherEntropy( void );
void AddTimerEntropy( void );
#endif
+#ifdef HAVE_ARC4RANDOM
+# define secureRandom() arc4random()
+#else
+int secureRandom( void );
+#endif
+
#endif /* _DM_AUTH_H_ */