Commit 6d031812 authored by Fabian Vogt's avatar Fabian Vogt

Clean up #ifdefs for FreeBSD

parent 7e8234bc
......@@ -20,22 +20,20 @@
#include <qglobal.h>
#ifdef Q_OS_LINUX
#include <linux/fs.h>
#endif
#include <sys/types.h>
#include <errno.h>
#include <unistd.h>
#include <signal.h>
#include <QDateTime>
#include <QDebug>
#include <QVersionNumber>
#ifdef Q_OS_LINUX
#include <linux/fs.h>
#include <sys/utsname.h>
#endif
#include <QDateTime>
#include <QDebug>
#include <QVersionNumber>
#include <KIO/ListJob>
#include <KIO/MkdirJob>
#include <KIO/StatJob>
......@@ -45,17 +43,13 @@
#include "debug.h"
#include "kiofusevfs.h"
// Flags that don't exist on FreeBSD; since these are used as
// bit(masks), setting them to 0 effectively means they're always unset.
#ifndef O_NOATIME
#define O_NOATIME 0
#endif
// Flags that are extensions for renameat2, cribbed from GNU stdio.h
// and <linux/fs.h>
#ifndef RENAME_NOREPLACE
#define RENAME_NOREPLACE (1 << 0)
#define RENAME_NOREPLACE 0
#endif
// The libfuse macros make this necessary
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment