-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 | |||
@@ -16,24 +16,27 @@ | |||
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 |