From: Roland McGrath Date: Fri, 18 Nov 2005 22:42:21 +0000 (+0000) Subject: 2005-11-18 Paul Brook X-Git-Tag: upstream/2.20~9202 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0b20008e04df8a0ba4a072b34671a47c580f087e;p=platform%2Fupstream%2Flinaro-glibc.git 2005-11-18 Paul Brook * nscd/grpcache.c: Include . * nscd/nscd_stat.c: Likewise. * nscd/pwdcache.c: Likewise. * sysdeps/unix/sysv/linux/unlinkat.c: Include , . --- diff --git a/nscd/grpcache.c b/nscd/grpcache.c index 6543ef3..3f440e9 100644 --- a/nscd/grpcache.c +++ b/nscd/grpcache.c @@ -32,6 +32,7 @@ #include #include #include +#include #include #include "nscd.h" diff --git a/nscd/nscd_stat.c b/nscd/nscd_stat.c index c1d0bff..7f6bd1c 100644 --- a/nscd/nscd_stat.c +++ b/nscd/nscd_stat.c @@ -24,6 +24,7 @@ #include #include #include +#include #include #include diff --git a/nscd/pwdcache.c b/nscd/pwdcache.c index 6b25968..e4ed7e9 100644 --- a/nscd/pwdcache.c +++ b/nscd/pwdcache.c @@ -32,6 +32,7 @@ #include #include #include +#include #include #include "nscd.h" diff --git a/sysdeps/unix/sysv/linux/unlinkat.c b/sysdeps/unix/sysv/linux/unlinkat.c index 36c0215..821029f 100644 --- a/sysdeps/unix/sysv/linux/unlinkat.c +++ b/sysdeps/unix/sysv/linux/unlinkat.c @@ -1,4 +1,5 @@ -/* Copyright (C) 2005 Free Software Foundation, Inc. +/* unlinkat -- Remove a link by relative name. + Copyright (C) 2005 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -20,7 +21,9 @@ #include #include #include +#include #include +#include #include @@ -51,7 +54,7 @@ unlinkat (fd, file, flag) due to the format elements compensates for possible negative numbers. */ size_t buflen = sizeof (procfd) + sizeof (int) * 3 + filelen; - buf = alloca (buflen); + buf = __alloca (buflen); __snprintf (buf, buflen, procfd, fd, file); file = buf;