summaryrefslogtreecommitdiffstats
path: root/kresources
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-04-27 23:16:05 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2012-04-27 23:16:05 -0500
commitc94de3afa90f38fab67604732a4540b768a007b8 (patch)
treed54c831ee3b4a6fb395328c3fc8e7d588311b440 /kresources
parenta2a1f1a0ad7d3fa017c587bfe7f92143e3a36048 (diff)
downloadtdepim-c94de3afa90f38fab67604732a4540b768a007b8.tar.gz
tdepim-c94de3afa90f38fab67604732a4540b768a007b8.zip
GCC 4.7 fix.
This partially resolves bug report 958. Thanks to David C. Rankin.
Diffstat (limited to 'kresources')
-rw-r--r--kresources/caldav/resource.cpp1
-rw-r--r--kresources/carddav/resource.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/kresources/caldav/resource.cpp b/kresources/caldav/resource.cpp
index cf36ae48..0ec3ceb6 100644
--- a/kresources/caldav/resource.cpp
+++ b/kresources/caldav/resource.cpp
@@ -15,6 +15,7 @@
========================================================================*/
#include <string.h>
+#include <unistd.h>
#include <tqurl.h>
#include <tqmessagebox.h>
diff --git a/kresources/carddav/resource.cpp b/kresources/carddav/resource.cpp
index 8d7ad025..f416a64b 100644
--- a/kresources/carddav/resource.cpp
+++ b/kresources/carddav/resource.cpp
@@ -14,6 +14,7 @@
========================================================================*/
#include <string.h>
+#include <unistd.h>
#include <tqurl.h>
#include <tqmessagebox.h>