Commit d28bc07b authored by Julien Wadel's avatar Julien Wadel

Fix/embedded projects

(cherry picked from commit e051db5c)
parent 6b0225f9
......@@ -24,7 +24,7 @@ find_package(Doxygen)
if(DOXYGEN_FOUND)
if(DOXYGEN_DOT_FOUND)
set(top_srcdir ${CMAKE_SOURCE_DIR})
set(top_srcdir ${PROJECT_SOURCE_DIR})
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile)
file(GLOB DOC_INPUT_FILES
[^.]*.dox
......
......@@ -47,6 +47,10 @@
#define VIDIOCQCSCOMPATIBLE _IOWR('v',QC_IOCTLBASE+10,int)
#ifndef VIDIOSFPS
// videodev.h is no longer supported since kernel 2.6.38, where BASE_VIDIOCPRIVATE was defined and becomes deprecated.
#if !defined(BASE_VIDIOCPRIVATE) && defined(BASE_VIDIOC_PRIVATE)
#define BASE_VIDIOCPRIVATE BASE_VIDIOC_PRIVATE
#endif
#define VIDIOSFPS _IOW('v',BASE_VIDIOCPRIVATE+20, int)
#endif
......
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