File keepassx-0.4.3-fix_build.patch of Package keepassx
Index: keepassx-0.4.3/src/lib/random.cpp =================================================================== --- keepassx-0.4.3.orig/src/lib/random.cpp 2009-06-28 16:22:31.000000000 +0200 +++ keepassx-0.4.3/src/lib/random.cpp 2012-06-28 09:31:15.462061252 +0200 @@ -21,6 +21,9 @@ #include "random.h" +#include <sys/types.h> +#include <unistd.h> + #if defined(Q_WS_X11) || defined(Q_WS_MAC) #include <QFile> #elif defined(Q_WS_WIN)