Assume <string.h> exists.
authorBruno Haible <bruno@clisp.org>
Mon, 31 Jul 2006 14:42:54 +0000 (14:42 +0000)
committerBruno Haible <bruno@clisp.org>
Mon, 31 Jul 2006 14:42:54 +0000 (14:42 +0000)
m4/ChangeLog
m4/wcwidth.m4

index f5e8ce6..2a79891 100644 (file)
@@ -1,3 +1,7 @@
+2006-07-30  Bruno Haible  <bruno@clisp.org>
+
+       * wcwidth.m4 (gl_FUNC_WCWIDTH): Assume <string.h> exists.
+
 2006-07-28  Simon Josefsson  <jas@extundo.com>
 
        * netinet_in_h.m4: New file.
index 09cf55a..06a12a1 100644 (file)
@@ -1,4 +1,4 @@
-# wcwidth.m4 serial 3
+# wcwidth.m4 serial 4
 dnl Copyright (C) 2006 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -17,9 +17,7 @@ AC_DEFUN([gl_FUNC_WCWIDTH],
 
   AC_CHECK_DECLS([wcwidth], [], [], [
 /* AIX 3.2.5 declares wcwidth in <string.h>. */
-#if HAVE_STRING_H
-# include <string.h>
-#endif
+#include <string.h>
 #if HAVE_WCHAR_H
 # include <wchar.h>
 #endif