author | zecke <zecke> | 2002-10-04 21:32:08 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-10-04 21:32:08 (UTC) |
commit | adc64501e1ce7789ce7915eebb6ebc0c318f5133 (patch) (unidiff) | |
tree | 30b769f7464facd4f5b6d7e270490992cc72b086 | |
parent | 10048c2dd7f7cd26c582d64b5e255b00b47de304 (diff) | |
download | opie-adc64501e1ce7789ce7915eebb6ebc0c318f5133.zip opie-adc64501e1ce7789ce7915eebb6ebc0c318f5133.tar.gz opie-adc64501e1ce7789ce7915eebb6ebc0c318f5133.tar.bz2 |
Next try
include <qglobal.h> to get _OS_LINUX from tt
-rw-r--r-- | core/launcher/transferserver.cpp | 3 |
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 | |||
@@ -12,32 +12,35 @@ | |||
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 | ||
30 | extern "C" { | 33 | extern "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> |