cmake HAVE_WORKING_EXT2_IOC_GETFLAGS examples

libarchive/libarchive CMakeLists.txt :714

CHECK_C_SOURCE_COMPILES("#include <sys/ioctl.h>
#include <ext2fs/ext2_fs.h>
int main(void) { return EXT2_IOC_GETFLAGS; }" HAVE_WORKING_EXT2_IOC_GETFLAGS)