Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/netstat fix build (stdbool lossage)



details:   https://anonhg.NetBSD.org/src/rev/803a95fed09e
branches:  trunk
changeset: 339567:803a95fed09e
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Jul 28 19:32:07 2015 +0000

description:
fix build (stdbool lossage)

diffstat:

 usr.bin/netstat/mbuf.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (31 lines):

diff -r 2a68efeb26e6 -r 803a95fed09e usr.bin/netstat/mbuf.c
--- a/usr.bin/netstat/mbuf.c    Tue Jul 28 18:58:08 2015 +0000
+++ b/usr.bin/netstat/mbuf.c    Tue Jul 28 19:32:07 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mbuf.c,v 1.31 2012/03/20 20:34:58 matt Exp $   */
+/*     $NetBSD: mbuf.c,v 1.32 2015/07/28 19:32:07 christos Exp $       */
 
 /*
  * Copyright (c) 1983, 1988, 1993
@@ -34,11 +34,12 @@
 #if 0
 static char sccsid[] = "from: @(#)mbuf.c       8.1 (Berkeley) 6/6/93";
 #else
-__RCSID("$NetBSD: mbuf.c,v 1.31 2012/03/20 20:34:58 matt Exp $");
+__RCSID("$NetBSD: mbuf.c,v 1.32 2015/07/28 19:32:07 christos Exp $");
 #endif
 #endif /* not lint */
 
 #define        __POOL_EXPOSE
+#include <stdbool.h>   // XXX: no <sys/stdbool.h>
 
 #include <sys/param.h>
 #include <sys/protosw.h>
@@ -53,7 +54,6 @@
 #include <limits.h>
 #include <errno.h>
 #include <err.h>
-#include <stdbool.h>
 #include "netstat.h"
 #include "prog_ops.h"
 



Home | Main Index | Thread Index | Old Index