Source-Changes-HG archive

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

[src/trunk]: src/tests/net/config necessary headers



details:   https://anonhg.NetBSD.org/src/rev/e7e1cbf0af17
branches:  trunk
changeset: 756602:e7e1cbf0af17
user:      pooka <pooka%NetBSD.org@localhost>
date:      Sun Jul 25 22:28:48 2010 +0000

description:
necessary headers

diffstat:

 tests/net/config/netconfig.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 20e3df79f296 -r e7e1cbf0af17 tests/net/config/netconfig.c
--- a/tests/net/config/netconfig.c      Sun Jul 25 21:47:47 2010 +0000
+++ b/tests/net/config/netconfig.c      Sun Jul 25 22:28:48 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: netconfig.c,v 1.1 2010/07/25 21:39:20 pooka Exp $      */
+/*     $NetBSD: netconfig.c,v 1.2 2010/07/25 22:28:48 pooka Exp $      */
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -29,14 +29,17 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: netconfig.c,v 1.1 2010/07/25 21:39:20 pooka Exp $");
+__RCSID("$NetBSD: netconfig.c,v 1.2 2010/07/25 22:28:48 pooka Exp $");
 #endif /* not lint */
 
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <sys/ioctl.h>
 
+#include <arpa/inet.h>
+
 #include <net/route.h>
+#include <netinet/in.h>
 
 #include <atf-c.h>
 #include <errno.h>



Home | Main Index | Thread Index | Old Index