Fix compilation error with IRIX 6.5 cc.
authorBruno Haible <bruno@clisp.org>
Fri, 11 Apr 2008 22:24:39 +0000 (00:24 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 11 Apr 2008 22:24:39 +0000 (00:24 +0200)
ChangeLog
lib/trim.c

index 183801c..0dbca36 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.
index f687f18..6a71578 100644 (file)
@@ -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>