]> Savannah Git Hosting - gnulib.git/commitdiff
iconv-h: Fix module description.
authorBruno Haible <bruno@clisp.org>
Sun, 3 Jan 2021 18:19:01 +0000 (19:19 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 3 Jan 2021 19:47:42 +0000 (20:47 +0100)
* modules/iconv-h (Include): Check HAVE_ICONV_H.

ChangeLog
modules/iconv-h

index 78fa7be9e1b5884c77c57b754de305e18fae51e5..4b9f08334cd056e4e65f639218b10bf48455b267 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2021-01-03  Bruno Haible  <bruno@clisp.org>
+
+       iconv-h: Fix module description.
+       * modules/iconv-h (Include): Check HAVE_ICONV_H.
+
 2021-01-03  Noah Misch  <noah@leadboat.com>
 
        iconv_open: Fix module description.
index 08371a453c24f4fe4c43933b51a45adcefa0693c..c5f353ad635ef11c253eebf6a20878f6e807e815 100644 (file)
@@ -46,7 +46,9 @@ endif
 MOSTLYCLEANFILES += iconv.h iconv.h-t
 
 Include:
-<iconv.h>
+#if HAVE_ICONV_H
+# include <iconv.h>
+#endif
 
 License:
 LGPLv2+