Mercurial > hg > octave-nkf > gnulib-hg
changeset 9891:03fc23d91d4e
Fix compilation error with IRIX 6.5 cc.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sat, 12 Apr 2008 00:24:39 +0200 |
parents | 1aea88e16967 |
children | 0b3ccf361045 |
files | ChangeLog lib/trim.c |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-04-11 Bruno Haible <bruno@clisp.org> + + * lib/trim.c: Include <string.h>. + 2008-04-11 Eric Blake <ebb9@byu.net> Avoid compile failure on OS/2.
--- a/lib/trim.c +++ b/lib/trim.c @@ -1,5 +1,5 @@ /* Removes leading and/or trailing whitespaces - Copyright (C) 2006-2007 Free Software Foundation, Inc. + Copyright (C) 2006-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -22,6 +22,7 @@ #include "trim.h" #include <ctype.h> +#include <string.h> #if HAVE_MBRTOWC # include <stddef.h>