keepassx/keepassx-0.4.3-gcc-4.7.patch

13 lines
322 B
Diff
Raw Normal View History

diff --git a/src/lib/random.cpp b/src/lib/random.cpp
index 1007172..f12dd1c 100644
--- a/src/lib/random.cpp
+++ b/src/lib/random.cpp
@@ -19,6 +19,7 @@
***************************************************************************/
#include "random.h"
+#include <unistd.h>
#if defined(Q_WS_X11) || defined(Q_WS_MAC)