manually applied patch for include/linux/magic.h