Prepared windows port by removing a number of spurious reference to unix-specific interfaces, and using some xapian posix adaptor includes
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
|
||||
#include "autoconfig.h"
|
||||
|
||||
#include <sys/stat.h>
|
||||
#include "safesysstat.h"
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
@@ -14,10 +14,6 @@
|
||||
* Free Software Foundation, Inc.,
|
||||
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include <list>
|
||||
#include <utility>
|
||||
|
||||
@@ -18,9 +18,7 @@
|
||||
|
||||
/** Saving and restoring named queries */
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
#include "safesysstat.h"
|
||||
|
||||
#include <QSettings>
|
||||
#include <QMessageBox>
|
||||
|
||||
@@ -107,7 +107,7 @@ unix {
|
||||
@LIBICONV@ $(BDYNAMIC) @LIBQZEITGEIST@ -lz
|
||||
|
||||
INCLUDEPATH += ../common ../index ../internfile ../query ../unac \
|
||||
../utils ../aspell ../rcldb ../qtgui \
|
||||
../utils ../aspell ../rcldb ../qtgui ../xaposix \
|
||||
confgui
|
||||
DEPENDPATH += $$INCLUDEPATH
|
||||
}
|
||||
|
||||
@@ -17,12 +17,9 @@
|
||||
#include "autoconfig.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
#include <signal.h>
|
||||
#include <sys/stat.h>
|
||||
#include "safesysstat.h"
|
||||
|
||||
#include <string>
|
||||
using std::string;
|
||||
|
||||
#include <QCheckBox>
|
||||
#include <QMessageBox>
|
||||
@@ -35,6 +32,8 @@ using std::string;
|
||||
#include "readfile.h"
|
||||
#include "execmd.h"
|
||||
|
||||
using std::string;
|
||||
|
||||
static const char *rautostartfile = ".config/autostart/recollindex.desktop";
|
||||
|
||||
// Just in case we don't find the file in the shared dir, have a
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
*/
|
||||
#include "autoconfig.h"
|
||||
|
||||
#include <sys/stat.h>
|
||||
#include "safesysstat.h"
|
||||
|
||||
#include <string>
|
||||
#include <algorithm>
|
||||
|
||||
Reference in New Issue
Block a user