summaryrefslogtreecommitdiff
path: root/src/plugin_common
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugin_common')
-rw-r--r--src/plugin_common/charset.c8
-rw-r--r--src/plugin_common/dither.c4
-rw-r--r--src/plugin_common/replaygain.c4
-rw-r--r--src/plugin_common/tags.c4
4 files changed, 16 insertions, 4 deletions
diff --git a/src/plugin_common/charset.c b/src/plugin_common/charset.c
index 575ac2ae..e63c5c4b 100644
--- a/src/plugin_common/charset.c
+++ b/src/plugin_common/charset.c
@@ -20,15 +20,15 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#if HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
#ifdef HAVE_ICONV
#include <iconv.h>
#endif
diff --git a/src/plugin_common/dither.c b/src/plugin_common/dither.c
index d7e0bae0..feaf298a 100644
--- a/src/plugin_common/dither.c
+++ b/src/plugin_common/dither.c
@@ -20,6 +20,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#if HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include "dither.h"
#include "FLAC/assert.h"
diff --git a/src/plugin_common/replaygain.c b/src/plugin_common/replaygain.c
index b9c83a49..8818d17a 100644
--- a/src/plugin_common/replaygain.c
+++ b/src/plugin_common/replaygain.c
@@ -17,6 +17,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#if HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include "replaygain.h"
#include "FLAC/ordinals.h"
#include "FLAC/metadata.h"
diff --git a/src/plugin_common/tags.c b/src/plugin_common/tags.c
index cf5a6ce8..a8b283dd 100644
--- a/src/plugin_common/tags.c
+++ b/src/plugin_common/tags.c
@@ -16,6 +16,10 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#if HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <stdio.h>
#include <string.h>
#include <stdlib.h>