changeset 7083:ce7bf8da4d44

Assume <string.h> exists.
author Bruno Haible <bruno@clisp.org>
date Mon, 31 Jul 2006 14:42:54 +0000
parents 9f576e28c742
children 901806ac9d51
files m4/ChangeLog m4/wcwidth.m4
diffstat 2 files changed, 6 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/m4/ChangeLog
+++ b/m4/ChangeLog
@@ -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.
--- a/m4/wcwidth.m4
+++ b/m4/wcwidth.m4
@@ -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_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