You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
13 lines
231 B
Diff
13 lines
231 B
Diff
--- Python/random.c
|
|
+++ Python/random.c
|
|
@@ -6,6 +6,9 @@
|
|
#ifdef HAVE_SYS_STAT_H
|
|
#include <sys/stat.h>
|
|
#endif
|
|
+#if defined(HAVE_GETENTROPY) && defined(HAVE_SYS_RANDOM_H)
|
|
+#include <sys/random.h>
|
|
+#endif
|
|
#endif
|
|
|
|
#ifdef Py_DEBUG
|