bug-gnulib
[Top][All Lists]
Advanced

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

[PATCH] wctob: mbtowc is declared in <stdlib.h>


From: Florian Weimer
Subject: [PATCH] wctob: mbtowc is declared in <stdlib.h>
Date: Tue, 10 Sep 2019 09:05:16 +0200

* m4/wctob.m4 (gl_FUNC_WCTOB): Include <stdlib.h>.
---
 m4/wctob.m4 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/m4/wctob.m4 b/m4/wctob.m4
index 05c1237ee..90de3e8ad 100644
--- a/m4/wctob.m4
+++ b/m4/wctob.m4
@@ -81,6 +81,7 @@ int main ()
    included before <wchar.h>.  */
 #include <stddef.h>
 #include <stdio.h>
+#include <stdlib.h>
 #include <time.h>
 #include <wchar.h>
 int main ()
-- 
2.21.0




reply via email to

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