]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Rely on <sys/time.h> replacement from gnulib.
authorBruno Haible <bruno@clisp.org>
Sat, 27 Jan 2007 02:57:14 +0000 (02:57 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:14:38 +0000 (12:14 +0200)
ChangeLog
autogen.sh
gettext-tools/src/ChangeLog
gettext-tools/src/msgfilter.c

index 93a0645ba374a623b30330610c6fd43e9dbba81d..75625257d5db3e4eeabb2f6cc4ae75d78c10c42c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-01-26  Bruno Haible  <bruno@clisp.org>
+
+       * autogen.sh (GNULIB_MODULES_TOOLS_FOR_SRC): Add sys_time.
+
 2006-12-23  Bruno Haible  <bruno@clisp.org>
 
        * autogen.sh (GNULIB_MODULES_TOOLS_OTHER): Add stdint.
index 00030376281b98c75494ce6a1c13d7503f7a766b..f34b5f89b58aed34fde0594c6445568e6349db02 100755 (executable)
@@ -139,6 +139,7 @@ if test -n "$GNULIB_TOOL"; then
   strtol
   strtoul
   styled-ostream
+  sys_time
   term-styled-ostream
   ucs4-utf8
   unistd
index a0dcc4a923d166cc003f1a94c07996eba15ed5a5..aaca9487b624190ca08a467e9b71a67acb271b46 100644 (file)
@@ -1,3 +1,7 @@
+2007-01-26  Bruno Haible  <bruno@clisp.org>
+
+       * msgfilter.c: Include <sys/time.h> unconditionally.
+
 2007-01-26  Bruno Haible  <bruno@clisp.org>
 
        * msginit.c: Don't include strpbrk.h, use <string.h> instead.
index c38e36cdcaf92a12d6f81b476f432382f65a2475..7b000b0d23796497270028ef8b7f5e3a33c8fd43 100644 (file)
@@ -1,5 +1,5 @@
 /* Edit translations using a subprocess.
-   Copyright (C) 2001-2006 Free Software Foundation, Inc.
+   Copyright (C) 2001-2007 Free Software Foundation, Inc.
    Written by Bruno Haible <haible@clisp.cons.org>, 2001.
 
    This program is free software; you can redistribute it and/or modify
 #include <stdlib.h>
 #include <string.h>
 #include <sys/types.h>
-
-#if HAVE_SYS_TIME_H
-# include <sys/time.h>
-#endif
-
+#include <sys/time.h>
 #include <unistd.h>
 #if defined _MSC_VER || defined __MINGW32__
 # include <io.h>