help-libidn
[Top][All Lists]
Advanced

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

[PATCH] add missing config.h #includes


From: Joe Orton
Subject: [PATCH] add missing config.h #includes
Date: Thu, 1 Jun 2006 13:12:04 +0100
User-agent: Mutt/1.4.2.1i

config.h is not getting included before gettext.h in a few places, so 
the !ENABLE_NLS definitions get used even if NLS is enabled.

--- libidn-0.6.2/lib/strerror-punycode.c.configdoth
+++ libidn-0.6.2/lib/strerror-punycode.c
@@ -19,6 +19,10 @@
  *
  */
 
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include "punycode.h"
 
 #include "gettext.h"
--- libidn-0.6.2/lib/strerror-idna.c.configdoth
+++ libidn-0.6.2/lib/strerror-idna.c
@@ -19,6 +19,10 @@
  *
  */
 
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include "idna.h"
 
 #include "gettext.h"
--- libidn-0.6.2/lib/strerror-tld.c.configdoth
+++ libidn-0.6.2/lib/strerror-tld.c
@@ -19,6 +19,10 @@
  *
  */
 
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include "tld.h"
 
 #include "gettext.h"
--- libidn-0.6.2/lib/strerror-pr29.c.configdoth
+++ libidn-0.6.2/lib/strerror-pr29.c
@@ -19,6 +19,10 @@
  *
  */
 
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include "pr29.h"
 
 #include "gettext.h"
--- libidn-0.6.2/lib/strerror-stringprep.c.configdoth
+++ libidn-0.6.2/lib/strerror-stringprep.c
@@ -19,6 +19,10 @@
  *
  */
 
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include "stringprep.h"
 
 #include "gettext.h"





reply via email to

[Prev in Thread] Current Thread [Next in Thread]