----------  Forwarded Message  ----------

Subject: [kmymoney] kmymoney/mymoney/storage: Fix includes
Date: Friday, March 23, 2012, 23:05:43
From: Christoph Feck <christ...@maxiom.de>
To: kde-comm...@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
fvi...@iname.com

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
KMyMoney-devel mailing list
KMyMoney-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmymoney-devel

Reply via email to