Added add_definitions(-D_FILE_OFFSET_BITS=64)
@@ -172,7 +172,6 @@ set(FUSE_FEATURE_TYPE "RECOMMENDED")
set(FUSE_FEATURE_PURPOSE "Remote to local file copy")
set(FUSE_FEATURE_DESCRIPTION "use -DWITH_FUSE2 or -DWITH_FUSE3 to specify fuse version")
-
find_feature(XShm ${XSHM_FEATURE_TYPE} ${XSHM_FEATURE_PURPOSE} ${XSHM_FEATURE_DESCRIPTION})
find_feature(Xinerama ${XINERAMA_FEATURE_TYPE} ${XINERAMA_FEATURE_PURPOSE} ${XINERAMA_FEATURE_DESCRIPTION})
find_feature(Xext ${XEXT_FEATURE_TYPE} ${XEXT_FEATURE_PURPOSE} ${XEXT_FEATURE_DESCRIPTION})
@@ -234,6 +233,7 @@ endif()
if(WITH_FUSE)
add_definitions(-DWITH_FUSE)
+ add_definitions(-D_FILE_OFFSET_BITS=64)
add_definitions(-DFUSE_API_VERSION=${FUSE_API_VERSION})
include_directories(${FUSE_INCLUDE_DIR})
set(${MODULE_PREFIX}_LIBS ${${MODULE_PREFIX}_LIBS} ${FUSE_LIBRARIES})
