diff options
author | Bruno Haible <bruno@clisp.org> | 2003-07-01 11:38:44 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-06-23 12:10:46 +0200 |
commit | d036aee28a2ebc2cee192cab5fc757baed1d4a86 (patch) | |
tree | 2bf645075fd974c9c279005a30929af038e2e7d7 /gettext-tools/lib/backupfile.c | |
parent | f2427b0fe0e8e9d6068dd8dc2d5e9894f21dbe62 (diff) | |
download | external_gettext-d036aee28a2ebc2cee192cab5fc757baed1d4a86.zip external_gettext-d036aee28a2ebc2cee192cab5fc757baed1d4a86.tar.gz external_gettext-d036aee28a2ebc2cee192cab5fc757baed1d4a86.tar.bz2 |
Assume <limits.h> exists.
Diffstat (limited to 'gettext-tools/lib/backupfile.c')
-rw-r--r-- | gettext-tools/lib/backupfile.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/gettext-tools/lib/backupfile.c b/gettext-tools/lib/backupfile.c index 24e0043..e3f8523 100644 --- a/gettext-tools/lib/backupfile.c +++ b/gettext-tools/lib/backupfile.c @@ -1,5 +1,5 @@ /* backupfile.c -- make Emacs style backup file names - Copyright (C) 1990-1999, 2000-2002 Free Software Foundation, Inc. + Copyright (C) 1990-1999, 2000-2003 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 @@ -68,12 +68,8 @@ # define HAVE_DIR 0 #endif -#if HAVE_LIMITS_H -# include <limits.h> -#endif -#ifndef CHAR_BIT -# define CHAR_BIT 8 -#endif +#include <limits.h> + /* Upper bound on the string length of an integer converted to string. 302 / 1000 is ceil (log10 (2.0)). Subtract 1 for the sign bit; add 1 for integer division truncation; add 1 more for a minus sign. */ |