--- keepassx-0.4.3/src/lib/random.cpp	2009-06-28 14:22:31.000000000 +0000
+++ keepassx-0.4.3.patched/src/lib/random.cpp	2013-02-25 14:16:23.285658419 +0000
@@ -34,6 +34,8 @@
 #include <QDataStream>
 #include <QTime>
 
+#include <unistd.h>
+
 void initStdRand();
 bool getNativeEntropy(quint8* buffer, int length);
 
