author | brad <brad> | 2004-04-03 07:01:25 (UTC) |
---|---|---|
committer | brad <brad> | 2004-04-03 07:01:25 (UTC) |
commit | a2fa6f99b2a9c9f6d7e3b49847dfad619c606ac1 (patch) (unidiff) | |
tree | 4f9fa6de2199494e69d57d65b76333c41b5eeda6 | |
parent | ff531aabe98565e041301f5f5b796cbf61b84fa1 (diff) | |
download | opie-a2fa6f99b2a9c9f6d7e3b49847dfad619c606ac1.zip opie-a2fa6f99b2a9c9f6d7e3b49847dfad619c606ac1.tar.gz opie-a2fa6f99b2a9c9f6d7e3b49847dfad619c606ac1.tar.bz2 |
Fix for building on gcc-2.95.3
-rw-r--r-- | noncore/applets/wirelessapplet/wireless.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/noncore/applets/wirelessapplet/wireless.cpp b/noncore/applets/wirelessapplet/wireless.cpp index 711d0dd..0491a86 100644 --- a/noncore/applets/wirelessapplet/wireless.cpp +++ b/noncore/applets/wirelessapplet/wireless.cpp | |||
@@ -33,12 +33,15 @@ | |||
33 | #include <qtextstream.h> | 33 | #include <qtextstream.h> |
34 | 34 | ||
35 | /* STD */ | 35 | /* STD */ |
36 | #include <math.h> | 36 | #include <math.h> |
37 | #include <sys/types.h> | 37 | #include <sys/types.h> |
38 | #include <signal.h> | 38 | #include <signal.h> |
39 | #if defined (__GNUC__) && (__GNUC__ < 3) | ||
40 | #define round qRound | ||
41 | #endif | ||
39 | 42 | ||
40 | //#define MDEBUG | 43 | //#define MDEBUG |
41 | #undef MDEBUG | 44 | #undef MDEBUG |
42 | 45 | ||
43 | using namespace Opie::Ui; | 46 | using namespace Opie::Ui; |
44 | using namespace Opie::Net; | 47 | using namespace Opie::Net; |