fix detection of liblocation...
[googlelatitude] / src / gps.h
index 3f9dde0..45c9cbb 100644 (file)
--- a/src/gps.h
+++ b/src/gps.h
@@ -1,9 +1,9 @@
 #ifndef GPS_H
 #define GPS_H
 
-#include <QObject>
+#ifdef LIBLOCATION
 
-#ifdef Q_WS_MAEMO_5
+#include <QObject>
 
 extern "C" {
 #include <location/location-gps-device.h>