C++与NDK平台错误帮助“_IOR”在此范围内未声明

问题描述:

谁能告诉我为什么当编译cpp的代码与NDK我得到这个错误:C++与NDK平台错误帮助“_IOR”在此范围内未声明

C:/ndk/samples/fmservice/src/jni/JFmRxNative.cpp:304:24: error: expected primary-expression before 'struct' 
C:/ndk/samples/fmservice/src/jni/JFmRxNative.cpp:304:24: error: '_IOR' was not declared in this scope 
line 304 : res = ioctl(radio_fd,VIDIOC_QUERYCAP,&cap); character 24: VIDIOC_QUERYCAP 

次我使用C:\ NDK \平台\ android-14文件

接缝我需要补充这个#include <sys/ioctl.h>