X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Ftempname.c;h=b3d0874ce9953cd37743813cfa0af298518b28a4;hb=5e6933eb225721fac1de4a8abf6c0da985ddaa6a;hp=43e9425f0af9b2fb89fff743c8aabb9c01676d22;hpb=b747607866185b6db29c21c9b7f368c8b14e794f;p=gnulib.git diff --git a/lib/tempname.c b/lib/tempname.c index 43e9425f0..b3d0874ce 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. + 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,12 +43,9 @@ # define __GT_NOCREATE 3 #endif -#if STDC_HEADERS || _LIBC -# include -# include -#endif - +#include #include +#include #if HAVE_FCNTL_H || _LIBC # include @@ -61,6 +58,9 @@ #if HAVE_STDINT_H || _LIBC # include #endif +#if HAVE_INTTYPES_H +# include +#endif #if HAVE_UNISTD_H || _LIBC # include