diff options
author | Eli Zaretskii <eliz@gnu.org> | 2012-10-17 23:13:20 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2012-10-17 23:13:20 +0200 |
commit | 27067208fd133e8b9530aafe43b0eed13ec08c21 (patch) | |
tree | 149d3c3c30b31f973d512646efcbe83e6d8295b5 /lib-src | |
parent | a68089e4a4dd41c9b838d82d1d96d971b01398c8 (diff) | |
download | emacs-27067208fd133e8b9530aafe43b0eed13ec08c21.tar.gz |
Avoid compiler warnings in lib-src/ntlib.c
src/ntlib.c: Include <mbstring.h>, to avoid compiler warning about
_mbspbrk.
Diffstat (limited to 'lib-src')
-rw-r--r-- | lib-src/ChangeLog | 5 | ||||
-rw-r--r-- | lib-src/ntlib.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 85351d7f08d..1f28000e110 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog @@ -1,3 +1,8 @@ +2012-10-17 Eli Zaretskii <eliz@gnu.org> + + * ntlib.c: Include <mbstring.h>, to avoid compiler warning about + _mbspbrk. + 2012-10-08 Eli Zaretskii <eliz@gnu.org> * makefile.w32-in (obj): Add cygw32.o. diff --git a/lib-src/ntlib.c b/lib-src/ntlib.c index feaad1c1bb7..4e125eb6d73 100644 --- a/lib-src/ntlib.c +++ b/lib-src/ntlib.c @@ -30,6 +30,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ #include <errno.h> #include <ctype.h> #include <sys/timeb.h> +#include <mbstring.h> #include "ntlib.h" |