author | andyq <andyq> | 2002-09-30 15:59:40 (UTC) |
---|---|---|
committer | andyq <andyq> | 2002-09-30 15:59:40 (UTC) |
commit | 096eb52cfbb50fefbe6679fb91e926346ff3c9d7 (patch) (side-by-side diff) | |
tree | 4eeb888a09a77b1b420997feb5d6cfe3ef61031a | |
parent | 4a090f5954bd5523d214685610c6582975b3d855 (diff) | |
download | opie-096eb52cfbb50fefbe6679fb91e926346ff3c9d7.zip opie-096eb52cfbb50fefbe6679fb91e926346ff3c9d7.tar.gz opie-096eb52cfbb50fefbe6679fb91e926346ff3c9d7.tar.bz2 |
Added include <linux/limits.h> to fix bug# 234
Note - I didn't have this issue on my setup (MDK 8.2) but adding the include
gave no issues
-rw-r--r-- | noncore/settings/aqpkg/networkpkgmgr.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/settings/aqpkg/networkpkgmgr.cpp b/noncore/settings/aqpkg/networkpkgmgr.cpp index 91a318c..ff8f182 100644 --- a/noncore/settings/aqpkg/networkpkgmgr.cpp +++ b/noncore/settings/aqpkg/networkpkgmgr.cpp @@ -1,71 +1,72 @@ /*************************************************************************** networkpkgmgr.cpp - description ------------------- begin : Mon Aug 26 13:32:30 BST 2002 copyright : (C) 2002 by Andy Qua email : andy.qua@blueyonder.co.uk ***************************************************************************/ /*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/ #include <fstream> #include <iostream> using namespace std; #include <unistd.h> #include <stdlib.h> +#include <linux/limits.h> #ifdef QWS #include <qpe/qpeapplication.h> #include <qpe/qcopenvelope_qws.h> #include <qpe/config.h> #else #include <qapplication.h> #endif #include <qlabel.h> #include <qfile.h> #include "datamgr.h" #include "networkpkgmgr.h" #include "installdlgimpl.h" #include "ipkg.h" #include "inputdlg.h" #include "global.h" NetworkPackageManager::NetworkPackageManager( DataManager *dataManager, QWidget *parent, const char *name) : QWidget(parent, name) { dataMgr = dataManager; initGui(); setupConnections(); progressDlg = 0; timerId = startTimer( 100 ); } NetworkPackageManager::~NetworkPackageManager() { } void NetworkPackageManager :: timerEvent ( QTimerEvent * ) { killTimer( timerId ); // showProgressDialog(); // Add server names to listbox updateData(); // progressDlg->hide(); } void NetworkPackageManager :: updateData() { |