slackbuilds_ponce/office/keepassx/keepassx-0.4.3-gcc47.patch
Артур Курков c9be4913c8 office/keepassx: Fix build with gcc47
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
2012-08-10 22:35:27 -05:00

12 lines
322 B
Diff

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)