author | andyq <andyq> | 2002-09-30 15:59:40 (UTC) |
---|---|---|
committer | andyq <andyq> | 2002-09-30 15:59:40 (UTC) |
commit | 096eb52cfbb50fefbe6679fb91e926346ff3c9d7 (patch) (unidiff) | |
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,55 +1,56 @@ | |||
1 | /*************************************************************************** | 1 | /*************************************************************************** |
2 | networkpkgmgr.cpp - description | 2 | networkpkgmgr.cpp - description |
3 | ------------------- | 3 | ------------------- |
4 | begin : Mon Aug 26 13:32:30 BST 2002 | 4 | begin : Mon Aug 26 13:32:30 BST 2002 |
5 | copyright : (C) 2002 by Andy Qua | 5 | copyright : (C) 2002 by Andy Qua |
6 | email : andy.qua@blueyonder.co.uk | 6 | email : andy.qua@blueyonder.co.uk |
7 | ***************************************************************************/ | 7 | ***************************************************************************/ |
8 | 8 | ||
9 | /*************************************************************************** | 9 | /*************************************************************************** |
10 | * * | 10 | * * |
11 | * This program is free software; you can redistribute it and/or modify * | 11 | * This program is free software; you can redistribute it and/or modify * |
12 | * it under the terms of the GNU General Public License as published by * | 12 | * it under the terms of the GNU General Public License as published by * |
13 | * the Free Software Foundation; either version 2 of the License, or * | 13 | * the Free Software Foundation; either version 2 of the License, or * |
14 | * (at your option) any later version. * | 14 | * (at your option) any later version. * |
15 | * * | 15 | * * |
16 | ***************************************************************************/ | 16 | ***************************************************************************/ |
17 | 17 | ||
18 | #include <fstream> | 18 | #include <fstream> |
19 | #include <iostream> | 19 | #include <iostream> |
20 | using namespace std; | 20 | using namespace std; |
21 | 21 | ||
22 | #include <unistd.h> | 22 | #include <unistd.h> |
23 | #include <stdlib.h> | 23 | #include <stdlib.h> |
24 | #include <linux/limits.h> | ||
24 | 25 | ||
25 | #ifdef QWS | 26 | #ifdef QWS |
26 | #include <qpe/qpeapplication.h> | 27 | #include <qpe/qpeapplication.h> |
27 | #include <qpe/qcopenvelope_qws.h> | 28 | #include <qpe/qcopenvelope_qws.h> |
28 | #include <qpe/config.h> | 29 | #include <qpe/config.h> |
29 | #else | 30 | #else |
30 | #include <qapplication.h> | 31 | #include <qapplication.h> |
31 | #endif | 32 | #endif |
32 | #include <qlabel.h> | 33 | #include <qlabel.h> |
33 | #include <qfile.h> | 34 | #include <qfile.h> |
34 | 35 | ||
35 | #include "datamgr.h" | 36 | #include "datamgr.h" |
36 | #include "networkpkgmgr.h" | 37 | #include "networkpkgmgr.h" |
37 | #include "installdlgimpl.h" | 38 | #include "installdlgimpl.h" |
38 | #include "ipkg.h" | 39 | #include "ipkg.h" |
39 | #include "inputdlg.h" | 40 | #include "inputdlg.h" |
40 | 41 | ||
41 | #include "global.h" | 42 | #include "global.h" |
42 | 43 | ||
43 | NetworkPackageManager::NetworkPackageManager( DataManager *dataManager, QWidget *parent, const char *name) | 44 | NetworkPackageManager::NetworkPackageManager( DataManager *dataManager, QWidget *parent, const char *name) |
44 | : QWidget(parent, name) | 45 | : QWidget(parent, name) |
45 | { | 46 | { |
46 | dataMgr = dataManager; | 47 | dataMgr = dataManager; |
47 | 48 | ||
48 | initGui(); | 49 | initGui(); |
49 | setupConnections(); | 50 | setupConnections(); |
50 | 51 | ||
51 | progressDlg = 0; | 52 | progressDlg = 0; |
52 | timerId = startTimer( 100 ); | 53 | timerId = startTimer( 100 ); |
53 | } | 54 | } |
54 | 55 | ||
55 | NetworkPackageManager::~NetworkPackageManager() | 56 | NetworkPackageManager::~NetworkPackageManager() |