[nautilus-sound-converter] Do #include <config.h>



commit ce3db97302c1cc1d0cc333f653a919e045e67359
Author: Brian Pepple <bpepple fedoraproject org>
Date:   Thu Mar 22 12:21:04 2012 -0400

    Do #include <config.h>

 src/nsc-converter.c |    2 ++
 src/nsc-error.c     |    2 ++
 src/nsc-extension.c |    4 +++-
 src/nsc-gstreamer.c |    2 ++
 src/nsc-module.c    |    2 ++
 src/nsc-xml.c       |    2 ++
 6 files changed, 13 insertions(+), 1 deletions(-)
---
diff --git a/src/nsc-converter.c b/src/nsc-converter.c
index 46567c1..8e4a219 100644
--- a/src/nsc-converter.c
+++ b/src/nsc-converter.c
@@ -24,7 +24,9 @@
  * 
  */
 
+#ifdef HAVE_CONFIG_H
 #include <config.h>
+#endif
 
 #include <sys/time.h>
 #include <string.h>
diff --git a/src/nsc-error.c b/src/nsc-error.c
index c5a5522..14b8cc7 100644
--- a/src/nsc-error.c
+++ b/src/nsc-error.c
@@ -22,7 +22,9 @@
  * 
  */
 
+#ifdef HAVE_CONFIG_H
 #include <config.h>
+#endif
 
 #include "nsc-error.h"
 
diff --git a/src/nsc-extension.c b/src/nsc-extension.c
index 56dd022..e3fc51a 100644
--- a/src/nsc-extension.c
+++ b/src/nsc-extension.c
@@ -22,7 +22,9 @@
  * 
  */
 
-#include <config.h> /* for GETTEXT_PACKAGE */
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 #include "nsc-converter.h"
 #include "nsc-extension.h"
diff --git a/src/nsc-gstreamer.c b/src/nsc-gstreamer.c
index 823fcfc..3cf532c 100644
--- a/src/nsc-gstreamer.c
+++ b/src/nsc-gstreamer.c
@@ -24,7 +24,9 @@
  * 
  */
 
+#ifdef HAVE_CONFIG_H
 #include <config.h>
+#endif
 
 #include <string.h>
 #include <glib.h>
diff --git a/src/nsc-module.c b/src/nsc-module.c
index b12162b..42da513 100644
--- a/src/nsc-module.c
+++ b/src/nsc-module.c
@@ -22,7 +22,9 @@
  * 
  */
 
+#ifdef HAVE_CONFIG_H
 #include <config.h>
+#endif
 
 #include "nsc-extension.h"
 
diff --git a/src/nsc-xml.c b/src/nsc-xml.c
index ac20d1f..10af334 100644
--- a/src/nsc-xml.c
+++ b/src/nsc-xml.c
@@ -20,7 +20,9 @@
  * 
  */
 
+#ifdef HAVE_CONFIG_H
 #include <config.h>
+#endif
 
 #include <gtk/gtk.h>
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]