public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
* Fix futimes.c
@ 2003-07-15 22:30 Andreas Schwab
  2003-07-16  0:10 ` Ulrich Drepper
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Schwab @ 2003-07-15 22:30 UTC (permalink / raw)
  To: libc-hacker

<stdlib.h> and <string.h> are needed for NULL and memcpy.

Andreas.

2003-07-16  Andreas Schwab  <schwab@suse.de>

	* sysdeps/unix/sysv/linux/futimes.c: Include <stdlib.h> and
	<string.h>.

--- sysdeps/unix/sysv/linux/futimes.c.~1.4.~	2003-07-13 14:02:41.000000000 +0200
+++ sysdeps/unix/sysv/linux/futimes.c	2003-07-16 00:25:07.000000000 +0200
@@ -18,6 +18,8 @@
    02111-1307 USA.  */
 
 #include <errno.h>
+#include <stdlib.h>
+#include <string.h>
 #include <sysdep.h>
 #include <utime.h>
 #include <sys/time.h>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Fix futimes.c
  2003-07-15 22:30 Fix futimes.c Andreas Schwab
@ 2003-07-16  0:10 ` Ulrich Drepper
  0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Drepper @ 2003-07-16  0:10 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: libc-hacker

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andreas Schwab wrote:
> <stdlib.h> and <string.h> are needed for NULL and memcpy.

Then we only need <string.h> since it also defined NULL.  I've made this
change.  Thanks,

- -- 
- --------------.                        ,-.            444 Castro Street
Ulrich Drepper \    ,-----------------'   \ Mountain View, CA 94041 USA
Red Hat         `--' drepper at redhat.com `---------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/FJfL2ijCOnn/RHQRApMlAJ0YD1qTmY8r4SR9L9mLNt7oLGo9AQCcD13g
qTT1Lz1WY6oH3Gw6/RBbkyQ=
=gGgs
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-07-16  0:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-15 22:30 Fix futimes.c Andreas Schwab
2003-07-16  0:10 ` Ulrich Drepper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).