summary refs log tree commit diff
path: root/pkgs/applications/misc/keepassx/random.patch
blob: 0a0b26f6e8c95e3cdcd714c19c6032c68c093e91 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/src/lib/random.cpp	2014-01-21 21:15:55.829312723 +0000
+++ b/src/lib/random.cpp	2014-01-21 21:16:36.752535839 +0000
@@ -28,6 +28,10 @@
 	#include <wincrypt.h>
 	#include <QSysInfo>
 #endif
+#ifndef Q_WS_WIN
+	#include <sys/types.h>
+	#include <unistd.h>
+#endif
 
 #include <QCryptographicHash>
 #include <QCursor>