author | zecke <zecke> | 2002-10-04 21:32:08 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-10-04 21:32:08 (UTC) |
commit | adc64501e1ce7789ce7915eebb6ebc0c318f5133 (patch) (side-by-side diff) | |
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 @@ -4,48 +4,51 @@ ** This file is part of the Qtopia Environment. ** ** This file may be distributed and/or modified under the terms of the ** GNU General Public License version 2 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the ** packaging of this file. ** ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. ** ** See http://www.trolltech.com/gpl/ for GPL licensing information. ** ** Contact info@trolltech.com if any conditions of this licensing are ** not clear to you. ** **********************************************************************/ #define _XOPEN_SOURCE #include <pwd.h> #include <sys/types.h> #include <unistd.h> #include <stdlib.h> #include <time.h> #include <shadow.h> +/* we need the _OS_LINUX stuff first ! */ +#include <qglobal.h> + #ifndef _OS_LINUX_ extern "C" { #include <uuid/uuid.h> #define UUID_H_INCLUDED } #endif // not defined linux #if defined(_OS_LINUX_) #include <shadow.h> #endif #include <qdir.h> #include <qfile.h> #include <qtextstream.h> #include <qdatastream.h> #include <qmessagebox.h> #include <qstringlist.h> #include <qfileinfo.h> #include <qregexp.h> //#include <qpe/qcopchannel_qws.h> #include <qpe/process.h> #include <qpe/global.h> |