summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/transferserver.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/launcher/transferserver.cpp b/core/launcher/transferserver.cpp
index f9204ab..d2f5501 100644
--- a/core/launcher/transferserver.cpp
+++ b/core/launcher/transferserver.cpp
@@ -4,48 +4,51 @@
4** This file is part of the Qtopia Environment. 4** This file is part of the Qtopia Environment.
5** 5**
6** This file may be distributed and/or modified under the terms of the 6** This file may be distributed and/or modified under the terms of the
7** GNU General Public License version 2 as published by the Free Software 7** GNU General Public License version 2 as published by the Free Software
8** Foundation and appearing in the file LICENSE.GPL included in the 8** Foundation and appearing in the file LICENSE.GPL included in the
9** packaging of this file. 9** packaging of this file.
10** 10**
11** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 11** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
12** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 12** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
13** 13**
14** See http://www.trolltech.com/gpl/ for GPL licensing information. 14** See http://www.trolltech.com/gpl/ for GPL licensing information.
15** 15**
16** Contact info@trolltech.com if any conditions of this licensing are 16** Contact info@trolltech.com if any conditions of this licensing are
17** not clear to you. 17** not clear to you.
18** 18**
19**********************************************************************/ 19**********************************************************************/
20#define _XOPEN_SOURCE 20#define _XOPEN_SOURCE
21#include <pwd.h> 21#include <pwd.h>
22#include <sys/types.h> 22#include <sys/types.h>
23#include <unistd.h> 23#include <unistd.h>
24#include <stdlib.h> 24#include <stdlib.h>
25#include <time.h> 25#include <time.h>
26#include <shadow.h> 26#include <shadow.h>
27 27
28/* we need the _OS_LINUX stuff first ! */
29#include <qglobal.h>
30
28#ifndef _OS_LINUX_ 31#ifndef _OS_LINUX_
29 32
30extern "C" { 33extern "C" {
31#include <uuid/uuid.h> 34#include <uuid/uuid.h>
32#define UUID_H_INCLUDED 35#define UUID_H_INCLUDED
33} 36}
34 37
35#endif // not defined linux 38#endif // not defined linux
36 39
37#if defined(_OS_LINUX_) 40#if defined(_OS_LINUX_)
38#include <shadow.h> 41#include <shadow.h>
39#endif 42#endif
40 43
41#include <qdir.h> 44#include <qdir.h>
42#include <qfile.h> 45#include <qfile.h>
43#include <qtextstream.h> 46#include <qtextstream.h>
44#include <qdatastream.h> 47#include <qdatastream.h>
45#include <qmessagebox.h> 48#include <qmessagebox.h>
46#include <qstringlist.h> 49#include <qstringlist.h>
47#include <qfileinfo.h> 50#include <qfileinfo.h>
48#include <qregexp.h> 51#include <qregexp.h>
49//#include <qpe/qcopchannel_qws.h> 52//#include <qpe/qcopchannel_qws.h>
50#include <qpe/process.h> 53#include <qpe/process.h>
51#include <qpe/global.h> 54#include <qpe/global.h>