Module Name: src
Committed By: christos
Date: Tue Jul 28 19:32:07 UTC 2015
Modified Files:
src/usr.bin/netstat: mbuf.c
Log Message:
fix build (stdbool lossage)
To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/usr.bin/netstat/mbuf.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/netstat/mbuf.c
diff -u src/usr.bin/netstat/mbuf.c:1.31 src/usr.bin/netstat/mbuf.c:1.32
--- src/usr.bin/netstat/mbuf.c:1.31 Tue Mar 20 16:34:58 2012
+++ src/usr.bin/netstat/mbuf.c Tue Jul 28 15:32:07 2015
@@ -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 @@ __RCSID("$NetBSD: mbuf.c,v 1.31 2012/03/
#include <limits.h>
#include <errno.h>
#include <err.h>
-#include <stdbool.h>
#include "netstat.h"
#include "prog_ops.h"