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 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.
index f687f1858c1e1cbf467d1cb23d99393c9e2c7fd0..6a71578bf662836e84f747f54df3205ac6354d13 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>