summaryrefslogtreecommitdiff
authorsandman <sandman>2002-10-14 01:17:39 (UTC)
committer sandman <sandman>2002-10-14 01:17:39 (UTC)
commit2c2d282f3d665035300873bddab6e64c843ebc0e (patch) (side-by-side diff)
treeefcab6d90f6529234b6c03cd4589b9fa868cd3a2
parent1b8d2ecee642bdecfdc3be15625f2c53bab01e64 (diff)
downloadopie-2c2d282f3d665035300873bddab6e64c843ebc0e.zip
opie-2c2d282f3d665035300873bddab6e64c843ebc0e.tar.gz
opie-2c2d282f3d665035300873bddab6e64c843ebc0e.tar.bz2
include fix for ipaq/zaurus compile
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/opie-login/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/opie-login/main.cpp b/core/opie-login/main.cpp
index 2c10f77..8f795e3 100644
--- a/core/opie-login/main.cpp
+++ b/core/opie-login/main.cpp
@@ -30,48 +30,49 @@
#include <sys/types.h>
#include <time.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <unistd.h>
#include <syslog.h>
#include <sys/wait.h>
#include <stdio.h>
#include <stdlib.h>
#include <signal.h>
#include <getopt.h>
#include <string.h>
#include <qpe/qpeapplication.h>
#include <qpe/qcopenvelope_qws.h>
#include <qpe/qpestyle.h>
#include <qpe/power.h>
#include <opie/odevice.h>
#include <qwindowsystem_qws.h>
#include <qmessagebox.h>
#include <qlabel.h>
#include <qtimer.h>
+#include <qfile.h>
#include "loginapplication.h"
#include "loginwindowimpl.h"
#include "calibrate.h"
using namespace Opie;
int login_main ( int argc, char **argv );
void sigterm ( int sig );
void exit_closelog ( );
static struct option long_options [] = {
{ "autologin", 1, 0, 'a' },
{ 0, 0, 0, 0 }
};
int main ( int argc, char **argv )
{
if ( ::geteuid ( ) != 0 ) {
::fprintf ( stderr, "%s can only be executed by root. (or chmod +s)", argv [0] );
return 1;
}
if ( ::getuid ( ) != 0 ) // qt doesn't really like SUID and