summaryrefslogtreecommitdiff
path: root/graphics/py-visual/files/patch-src-gtk2-random_device.cpp
blob: 150b1a017d07a6a313b73025059c73068eaf60f1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/gtk2/random_device.cpp	Sat Jul 31 20:20:28 2004
+++ src/gtk2/random_device.cpp.port	Tue Mar  6 13:17:28 2007
@@ -32,7 +32,7 @@
 #endif
 
 // Known to be supported for GNU/Linux and Apple OSX.  Probably others as well.
-#if defined(__linux__) || (defined(__APPLE__) && defined(__MACH__))
+#if defined(__linux__) || defined(__FreeBSD__) || (defined(__APPLE__) && defined(__MACH__))
 
 // the default is the unlimited capacity device, using some secure hash
 // try "/dev/random" for blocking when the entropy pool has drained