#include <linux/version.h>
#if LINUX_VERSION_CODE >= 0x60000
# include "loop.h-6.x.patched"
#elif LINUX_VERSION_CODE >= 0x50000
# include "loop.h-5.x.patched"
#elif LINUX_VERSION_CODE >= 0x40000
# include "loop.h-4.x.patched"
#elif LINUX_VERSION_CODE >= 0x30000
# include "loop.h-3.x.patched"
#elif LINUX_VERSION_CODE >= 0x20600
# include "loop.h-2.6.patched"
#elif LINUX_VERSION_CODE >= 0x20400
# include "loop.h-2.4.patched"
#else
# include <linux/loop.h>
#endif
