--- keepassx-0.4.3/src/lib/random.cpp.orig	2012-10-21 18:18:01.966589819 +0900
+++ keepassx-0.4.3/src/lib/random.cpp	2012-10-21 18:18:25.083594172 +0900
@@ -33,6 +33,7 @@
 #include <QCursor>
 #include <QDataStream>
 #include <QTime>
+#include <unistd.h>
 
 void initStdRand();
 bool getNativeEntropy(quint8* buffer, int length);
