diff options
author | Jim Meyering <jim@meyering.net> | 2003-06-06 22:34:04 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-06-06 22:34:04 +0000 |
commit | f43ec51105022c60ba52029165bc9675a9d89d62 (patch) | |
tree | 43e0b5de1efa8097fedafe177638a011008b4711 /lib | |
parent | fbb7e6632b4b1dcfa915def20e2eeda886096fd3 (diff) | |
download | coreutils-f43ec51105022c60ba52029165bc9675a9d89d62.tar.xz |
Include <stddef.h> unconditionally.
Include <inttypes.h> as an alternative to <stdint.h>.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tempname.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/tempname.c b/lib/tempname.c index 43e9425f0..7e319ff7f 100644 --- a/lib/tempname.c +++ b/lib/tempname.c @@ -1,7 +1,7 @@ /* tempname.c - generate the name of a temporary file. - Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, - 2000, 2001, 2002 Free Software Foundation, Inc. + Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2003, + 2000, 2001, 2002, 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 @@ -43,8 +43,9 @@ # define __GT_NOCREATE 3 #endif +#include <stddef.h> + #if STDC_HEADERS || _LIBC -# include <stddef.h> # include <string.h> #endif @@ -61,6 +62,9 @@ #if HAVE_STDINT_H || _LIBC # include <stdint.h> #endif +#if HAVE_INTTYPES_H +# include <inttypes.h> +#endif #if HAVE_UNISTD_H || _LIBC # include <unistd.h> |