[Kmymoney-devel] Fwd: [kmymoney] kmymoney/mymoney/storage: Fix includes
Fernando Vilas
fvilas at iname.com
Sat Mar 24 00:02:46 UTC 2012
---------- Forwarded Message ----------
Subject: [kmymoney] kmymoney/mymoney/storage: Fix includes
Date: Friday, March 23, 2012, 23:05:43
From: Christoph Feck <christoph at maxiom.de>
To: kde-commits at kde.org
Git commit 9b6f96a38b8c84cb87bb07165b503acbe5ea81ff by Christoph Feck.
Committed on 23/03/2012 at 23:05.
Pushed by cfeck into branch 'master'.
Fix includes
M +1 -0 kmymoney/mymoney/storage/mymoneydatabasemgrtest.cpp
http://commits.kde.org/kmymoney/9b6f96a38b8c84cb87bb07165b503acbe5ea81ff
diff --git a/kmymoney/mymoney/storage/mymoneydatabasemgrtest.cpp
b/kmymoney/mymoney/storage/mymoneydatabasemgrtest.cpp
index ff217e3..d31bb02 100644
--- a/kmymoney/mymoney/storage/mymoneydatabasemgrtest.cpp
+++ b/kmymoney/mymoney/storage/mymoneydatabasemgrtest.cpp
@@ -16,6 +16,7 @@
#include "mymoneydatabasemgrtest.h"
#include <pwd.h>
+#include <unistd.h>
#include <iostream>
#include <QtTest/QtTest>
-----------------------------------------
Since unistd.h is not available on all platforms (Windows), what function is
used that needs it? There may be a cross platform replacement, or to rework a
little of the code to get around the issue.
--
Thanks,
Fernando Vilas
fvilas at iname.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20120323/338515cf/attachment.sig>
More information about the KMyMoney-devel
mailing list