Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/regress/lib/libc/getaddrinfo Include <string.h> so that mems...



details:   https://anonhg.NetBSD.org/src/rev/eace24b30ed2
branches:  trunk
changeset: 533740:eace24b30ed2
user:      agc <agc%NetBSD.org@localhost>
date:      Mon Jul 08 18:55:51 2002 +0000

description:
Include <string.h> so that memset(3) gets prototyped.

diffstat:

 regress/lib/libc/getaddrinfo/gaitest.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 274fa775d829 -r eace24b30ed2 regress/lib/libc/getaddrinfo/gaitest.c
--- a/regress/lib/libc/getaddrinfo/gaitest.c    Mon Jul 08 18:48:42 2002 +0000
+++ b/regress/lib/libc/getaddrinfo/gaitest.c    Mon Jul 08 18:55:51 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: gaitest.c,v 1.3 2002/07/05 15:47:43 itojun Exp $       */
+/*     $NetBSD: gaitest.c,v 1.4 2002/07/08 18:55:51 agc Exp $  */
 
 /*
  * Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, and 2002 WIDE Project.
@@ -36,6 +36,7 @@
 #include <netdb.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include <unistd.h>
 
 struct addrinfo ai;



Home | Main Index | Thread Index | Old Index