summaryrefslogtreecommitdiff
authorzecke <zecke>2002-10-04 21:32:08 (UTC)
committer zecke <zecke>2002-10-04 21:32:08 (UTC)
commitadc64501e1ce7789ce7915eebb6ebc0c318f5133 (patch) (side-by-side diff)
tree30b769f7464facd4f5b6d7e270490992cc72b086
parent10048c2dd7f7cd26c582d64b5e255b00b47de304 (diff)
downloadopie-adc64501e1ce7789ce7915eebb6ebc0c318f5133.zip
opie-adc64501e1ce7789ce7915eebb6ebc0c318f5133.tar.gz
opie-adc64501e1ce7789ce7915eebb6ebc0c318f5133.tar.bz2
Next try
include <qglobal.h> to get _OS_LINUX from tt
Diffstat (more/less context) (show 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
@@ -1,59 +1,62 @@
/**********************************************************************
** Copyright (C) 2000-2002 Trolltech AS. All rights reserved.
**
** 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>
#include <qpe/config.h>
#include <qpe/contact.h>
#include <qpe/quuid.h>
#include <qpe/version.h>
#ifdef QWS
#include <qpe/qcopenvelope_qws.h>
#endif