bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnulib] unicodeio patch to assume C89 or better


From: Bruno Haible
Subject: [Bug-gnulib] unicodeio patch to assume C89 or better
Date: Wed, 10 Sep 2003 16:11:33 +0200
User-agent: KMail/1.5

I installed this patch.

        * lib/unicodeio.c: Include <string.h> unconditionally.
        * m4/unicodeio.m4 (gl_UNICODEIO): Remove <string.h> check.

*** lib/unicodeio.c     31 Jul 2003 06:27:05 -0000      1.23
--- lib/unicodeio.c     10 Sep 2003 13:47:01 -0000
***************
*** 29,39 ****
  #include "unicodeio.h"
  
  #include <stdio.h>
! #if HAVE_STRING_H
! # include <string.h>
! #else
! # include <strings.h>
! #endif
  
  #include <errno.h>
  #ifndef errno
--- 29,35 ----
  #include "unicodeio.h"
  
  #include <stdio.h>
! #include <string.h>
  
  #include <errno.h>
  #ifndef errno
*** m4/unicodeio.m4     31 Dec 2002 13:42:07 -0000      1.1
--- m4/unicodeio.m4     10 Sep 2003 13:47:02 -0000
***************
*** 1,5 ****
! # unicodeio.m4 serial 1
! dnl Copyright (C) 2002 Free Software Foundation, Inc.
  dnl This file is free software, distributed under the terms of the GNU
  dnl General Public License.  As a special exception to the GNU General
  dnl Public License, this file may be distributed as part of a program
--- 1,5 ----
! # unicodeio.m4 serial 2
! dnl Copyright (C) 2002-2003 Free Software Foundation, Inc.
  dnl This file is free software, distributed under the terms of the GNU
  dnl General Public License.  As a special exception to the GNU General
  dnl Public License, this file may be distributed as part of a program
***************
*** 8,13 ****
  
  AC_DEFUN([gl_UNICODEIO],
  [
!   dnl Prerequisites of lib/unicodeio.c.
!   AC_CHECK_HEADERS_ONCE(string.h)
  ])
--- 8,13 ----
  
  AC_DEFUN([gl_UNICODEIO],
  [
!   dnl No prerequisites of lib/unicodeio.c.
!   :
  ])





reply via email to

[Prev in Thread] Current Thread [Next in Thread]