-rw-r--r-- | core/qws/transferserver.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/qws/transferserver.cpp b/core/qws/transferserver.cpp index 7bf6719..42ac917 100644 --- a/core/qws/transferserver.cpp +++ b/core/qws/transferserver.cpp | |||
@@ -1,62 +1,63 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | ** Copyright (C) 2000-2002 Trolltech AS. All rights reserved. | 2 | ** Copyright (C) 2000-2002 Trolltech AS. All rights reserved. |
3 | ** | 3 | ** |
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 | 20 | ||
21 | /* OPIE */ | 21 | /* OPIE */ |
22 | #include <opie2/odebug.h> | 22 | #include <opie2/odebug.h> |
23 | 23 | ||
24 | /* STD */ | 24 | /* STD */ |
25 | #define _XOPEN_SOURCE | 25 | #define _XOPEN_SOURCE |
26 | #include <pwd.h> | 26 | #include <pwd.h> |
27 | #include <sys/types.h> | 27 | #include <sys/types.h> |
28 | #include <unistd.h> | 28 | #include <unistd.h> |
29 | #include <stdlib.h> | 29 | #include <stdlib.h> |
30 | #include <time.h> | 30 | #include <time.h> |
31 | #include <crypt.h> | ||
31 | 32 | ||
32 | #ifndef Q_OS_MACX | 33 | #ifndef Q_OS_MACX |
33 | #include <shadow.h> | 34 | #include <shadow.h> |
34 | #endif /* Q_OS_MACX */ | 35 | #endif /* Q_OS_MACX */ |
35 | 36 | ||
36 | /* we need the _OS_LINUX stuff first ! */ | 37 | /* we need the _OS_LINUX stuff first ! */ |
37 | 38 | ||
38 | #ifndef _OS_LINUX_ | 39 | #ifndef _OS_LINUX_ |
39 | // Is anybody able to review this ? The include "uuid/uuid.h" couldn't be found | 40 | // Is anybody able to review this ? The include "uuid/uuid.h" couldn't be found |
40 | // anywhere ? Therfore I removed it completely.. | 41 | // anywhere ? Therfore I removed it completely.. |
41 | // I think it should be made permanentyl !? (eilers) | 42 | // I think it should be made permanentyl !? (eilers) |
42 | #warning "Where should uuid/uuid.h be found ? Removed this part .. (eilers)" | 43 | #warning "Where should uuid/uuid.h be found ? Removed this part .. (eilers)" |
43 | #if 0 | 44 | #if 0 |
44 | 45 | ||
45 | extern "C" | 46 | extern "C" |
46 | { | 47 | { |
47 | #include <uuid/uuid.h> | 48 | #include <uuid/uuid.h> |
48 | #define UUID_H_INCLUDED | 49 | #define UUID_H_INCLUDED |
49 | } | 50 | } |
50 | 51 | ||
51 | #endif | 52 | #endif |
52 | 53 | ||
53 | #endif // not defined linux | 54 | #endif // not defined linux |
54 | 55 | ||
55 | #if defined(_OS_LINUX_) | 56 | #if defined(_OS_LINUX_) |
56 | #include <shadow.h> | 57 | #include <shadow.h> |
57 | #elif defined(Q_OS_MACX) | 58 | #elif defined(Q_OS_MACX) |
58 | #include <stdlib.h> | 59 | #include <stdlib.h> |
59 | #endif | 60 | #endif |
60 | 61 | ||
61 | #include <qtextstream.h> | 62 | #include <qtextstream.h> |
62 | #include <qmessagebox.h> | 63 | #include <qmessagebox.h> |