--- src/libmpd-internal.h.orig	2015-11-05 15:05:11.982772276 +0100
+++ src/libmpd-internal.h	2015-11-05 15:05:32.845719672 +0100
@@ -20,6 +20,10 @@
 #ifndef __MPD_INTERNAL_LIB_
 #define __MPD_INTERNAL_LIB_
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include "libmpdclient.h"
 struct _MpdData_real;
 
