- Fix build on 10.0 and 11-CURRENT

PR:		ports/183664
Submitted by:	Ludger Bolmerg <lbolmerg@web.de>
This commit is contained in:
Steve Wills 2013-11-15 12:45:03 +00:00
parent 07d8868ecf
commit 27bf1f9b02
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333858
2 changed files with 20 additions and 0 deletions

View file

@ -0,0 +1,10 @@
--- ./src/lib/AutoTypeX11.cpp.orig 2009-09-13 14:43:10.000000000 +0000
+++ ./src/lib/AutoTypeX11.cpp 2013-09-21 15:37:54.600146755 +0000
@@ -23,6 +23,7 @@
#include "mainwindow.h"
#include "lib/HelperX11.h"
#include <QX11Info>
+#include <time.h>
#ifndef GLOBAL_AUTOTYPE
AutoType* autoType = NULL;

View file

@ -0,0 +1,10 @@
--- ./src/lib/random.cpp.orig 2009-06-28 14:22:31.000000000 +0000
+++ ./src/lib/random.cpp 2013-09-21 15:37:54.599146989 +0000
@@ -19,6 +19,7 @@
***************************************************************************/
#include "random.h"
+#include <unistd.h>
#if defined(Q_WS_X11) || defined(Q_WS_MAC)