summaryrefslogtreecommitdiff
path: root/core
authorharlekin <harlekin>2002-08-01 00:42:55 (UTC)
committer harlekin <harlekin>2002-08-01 00:42:55 (UTC)
commit26ff0c72228b9c89b079dfa381d448b6152eb408 (patch) (side-by-side diff)
tree580c72ab759332a1fc3b3ae12fa26447090a682c /core
parentb2978cf32ae5e6954fb118c89c1f70ee05d53ef4 (diff)
downloadopie-26ff0c72228b9c89b079dfa381d448b6152eb408.zip
opie-26ff0c72228b9c89b079dfa381d448b6152eb408.tar.gz
opie-26ff0c72228b9c89b079dfa381d448b6152eb408.tar.bz2
gcc3.X fixes
Diffstat (limited to 'core') (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/calibrate/calibrate.cpp2
-rw-r--r--core/opie-login/loginwindowimpl.cpp1
-rw-r--r--core/opie-login/main.cpp1
-rw-r--r--core/opie-login/opie-login.pro4
4 files changed, 6 insertions, 2 deletions
diff --git a/core/apps/calibrate/calibrate.cpp b/core/apps/calibrate/calibrate.cpp
index 1f4fb1b..b9ad73d 100644
--- a/core/apps/calibrate/calibrate.cpp
+++ b/core/apps/calibrate/calibrate.cpp
@@ -18,6 +18,8 @@
**
**********************************************************************/
+#include <math.h>
+
#include "calibrate.h"
#include <qpe/resource.h>
diff --git a/core/opie-login/loginwindowimpl.cpp b/core/opie-login/loginwindowimpl.cpp
index 3265b46..26d9225 100644
--- a/core/opie-login/loginwindowimpl.cpp
+++ b/core/opie-login/loginwindowimpl.cpp
@@ -21,6 +21,7 @@
#include <unistd.h>
#include <stdlib.h>
+#undef USEPAM // FOR my toolchain
#ifdef USEPAM
extern "C" {
#include <security/pam_appl.h>
diff --git a/core/opie-login/main.cpp b/core/opie-login/main.cpp
index 9d52b75..44d6f8d 100644
--- a/core/opie-login/main.cpp
+++ b/core/opie-login/main.cpp
@@ -5,6 +5,7 @@
#include <sys/types.h>
#include <sys/wait.h>
#include <stdio.h>
+#include <stdlib.h>
#include <qpe/qpeapplication.h>
#include <qpe/qcopenvelope_qws.h>
diff --git a/core/opie-login/opie-login.pro b/core/opie-login/opie-login.pro
index 35c1ed0..ef449ab 100644
--- a/core/opie-login/opie-login.pro
+++ b/core/opie-login/opie-login.pro
@@ -17,8 +17,8 @@ DEPENDPATH += $(OPIEDIR)/include ../launcher ../apps/calibrate
LIBS += -lqpe -lopie
-usepam:LIBS += -lpam
-usepam:DEFINES += USEPAM
+#usepam:LIBS += -lpam
+#usepam:DEFINES += USEPAM
DESTDIR = $(OPIEDIR)/bin
TARGET = opie-login