projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e913600
)
Fix compilation error with IRIX 6.5 cc.
author
Bruno Haible
<bruno@clisp.org>
Fri, 11 Apr 2008 22:24:39 +0000
(
00:24
+0200)
committer
Bruno Haible
<bruno@clisp.org>
Fri, 11 Apr 2008 22:24:39 +0000
(
00:24
+0200)
ChangeLog
patch
|
blob
|
history
lib/trim.c
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index 183801c234101d5e1ddfbc75b0e68988784401ae..0dbca3640b500c9c8dd5d1608b4e794e96a1feaa 100644
(file)
--- 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.
2008-04-11 Eric Blake <ebb9@byu.net>
Avoid compile failure on OS/2.
diff --git
a/lib/trim.c
b/lib/trim.c
index f687f1858c1e1cbf467d1cb23d99393c9e2c7fd0..6a71578bf662836e84f747f54df3205ac6354d13 100644
(file)
--- a/
lib/trim.c
+++ b/
lib/trim.c
@@
-1,5
+1,5
@@
/* Removes leading and/or trailing whitespaces
/* Removes leading and/or trailing whitespaces
- Copyright (C) 2006-200
7
Free Software Foundation, Inc.
+ Copyright (C) 2006-200
8
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
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 "trim.h"
#include <ctype.h>
+#include <string.h>
#if HAVE_MBRTOWC
# include <stddef.h>
#if HAVE_MBRTOWC
# include <stddef.h>