From: Bruno Haible Date: Sun, 4 Apr 2010 23:37:37 +0000 (+0200) Subject: btowc: Avoid warning. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e995ac96ab3d7a78d2bfa4da08715038b3cbb662;p=pspp btowc: Avoid warning. --- diff --git a/ChangeLog b/ChangeLog index d2d2721b7e..01369951d6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-04-04 Bruno Haible + + btowc: Avoid warning. + * lib/btowc.c: Include . + Reported by Hauke Fath . + 2010-04-04 Hauke Fath (tiny change) Bruno Haible diff --git a/lib/btowc.c b/lib/btowc.c index a46f1b242d..8744602aaf 100644 --- a/lib/btowc.c +++ b/lib/btowc.c @@ -1,5 +1,5 @@ /* Convert unibyte character to wide character. - Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc. + Copyright (C) 2008, 2010 Free Software Foundation, Inc. Written by Bruno Haible , 2008. This program is free software: you can redistribute it and/or modify @@ -21,6 +21,7 @@ #include #include +#include wint_t btowc (int c)