summaryrefslogtreecommitdiff
authorzecke <zecke>2004-07-18 21:06:39 (UTC)
committer zecke <zecke>2004-07-18 21:06:39 (UTC)
commitf35e69d020bdce078e2fc11f3a5298118a33f346 (patch) (unidiff)
treeb4484e8f32de836ec21a739e50d294c90fafa4bf
parentc26982f10b7ea883b3c5b4d777e9c1cc1d2ee7f0 (diff)
downloadopie-f35e69d020bdce078e2fc11f3a5298118a33f346.zip
opie-f35e69d020bdce078e2fc11f3a5298118a33f346.tar.gz
opie-f35e69d020bdce078e2fc11f3a5298118a33f346.tar.bz2
for gcc2 toolchain I need to forward declare crypt...
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/opie-login/passworddialogimpl.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/core/opie-login/passworddialogimpl.cpp b/core/opie-login/passworddialogimpl.cpp
index 852708e..d9132e2 100644
--- a/core/opie-login/passworddialogimpl.cpp
+++ b/core/opie-login/passworddialogimpl.cpp
@@ -22,28 +22,33 @@
22    --        :-=` Free Software Foundation, Inc., 22    --        :-=` Free Software Foundation, Inc.,
23 59 Temple Place - Suite 330, 23 59 Temple Place - Suite 330,
24 Boston, MA 02111-1307, USA. 24 Boston, MA 02111-1307, USA.
25 25
26*/ 26*/
27 27
28
29#include <qlayout.h> 28#include <qlayout.h>
30#include <qlabel.h> 29#include <qlabel.h>
31#include <qlineedit.h> 30#include <qlineedit.h>
32#include <qvalidator.h> 31#include <qvalidator.h>
33#include <qmessagebox.h> 32#include <qmessagebox.h>
34#include <qhbox.h> 33#include <qhbox.h>
35#include <qtoolbutton.h> 34#include <qtoolbutton.h>
36 35
36
37
37#include <sys/types.h> 38#include <sys/types.h>
38#include <pwd.h> 39#include <pwd.h>
39#include <shadow.h> 40#include <shadow.h>
40#include <stdio.h> 41#include <stdio.h>
41#include <time.h> 42#include <time.h>
42#include <unistd.h> 43#include <unistd.h>
43 44
45// Shitty gcc2 toolchain
46extern "C" char* crypt( const char*, const char* );
47
48
44 49
45#include "passworddialogimpl.h" 50#include "passworddialogimpl.h"
46 51
47 52
48// This function is taken from 'busybox'. 53// This function is taken from 'busybox'.
49static int i64c(int i) { 54static int i64c(int i) {