--- /dev/null
+--- libmpd-11.8.17/src/libmpd.h~ 2011-08-17 12:31:47.000000000 +0000
++++ libmpd-11.8.17/src/libmpd.h 2015-03-24 04:53:24.619240669 +0000
+@@ -37,6 +37,10 @@
+ #define __W32API_USE_DLLIMPORT__ 1
+ #endif
+
++#ifdef HAVE_CONFIG_H
++#include "config.h"
++#endif
++
+ #include "libmpdclient.h"
+
+ #ifndef TRUE
Summary(pl.UTF-8): Biblioteka kliencka MPD
Name: libmpd
Version: 11.8.17
-Release: 1
+Release: 2
License: GPL v2+
Group: Libraries
Source0: http://download.sarine.nl/Programs/gmpc/%{version}/%{name}-%{version}.tar.gz
# Source0-md5: 5ae3d87467d52aef3345407adb0a2488
+Patch0: config.h.patch
URL: http://www.gmpclient.org/
BuildRequires: autoconf
BuildRequires: automake
%prep
%setup -q
+%patch0 -p1
%build
%{__libtoolize}