--- libmtp-1.1.5.orig/src/util.c 2011-01-10 05:37:21.000000000 -0800 +++ libmtp-1.1.5/src/util.c 2014-09-03 23:50:44.703563888 -0700 @@ -22,6 +22,8 @@ * Boston, MA 02111-1307, USA. */ +#include "config.h" + /* MSVC does not have these */ #ifndef _MSC_VER #include