Changeset View
Changeset View
Standalone View
Standalone View
src/ioslaves/file/file_unix.cpp
Show First 20 Lines • Show All 43 Lines • ▼ Show 20 Line(s) | |||||
44 | #include <utime.h> | 44 | #include <utime.h> | ||
45 | 45 | | |||
46 | #include <KAuth> | 46 | #include <KAuth> | ||
47 | #include <KRandom> | 47 | #include <KRandom> | ||
48 | 48 | | |||
49 | #include "fdreceiver.h" | 49 | #include "fdreceiver.h" | ||
50 | 50 | | |||
51 | //sendfile has different semantics in different platforms | 51 | //sendfile has different semantics in different platforms | ||
52 | #if defined HAVE_SENDFILE && defined Q_OS_LINUX | 52 | #if HAVE_SENDFILE && defined Q_OS_LINUX | ||
53 | #define USE_SENDFILE 1 | 53 | #define USE_SENDFILE 1 | ||
54 | #endif | 54 | #endif | ||
55 | 55 | | |||
56 | #ifdef USE_SENDFILE | 56 | #ifdef USE_SENDFILE | ||
57 | #include <sys/sendfile.h> | 57 | #include <sys/sendfile.h> | ||
58 | #endif | 58 | #endif | ||
59 | 59 | | |||
60 | using namespace KIO; | 60 | using namespace KIO; | ||
▲ Show 20 Lines • Show All 825 Lines • Show Last 20 Lines |