From afb24b5700a13e4ace6c6561e0366f4a56fbb115 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 15 Aug 2010 16:09:31 +0000 Subject: netstat: include sys/stat.h for S_ISREG macros newer versions of glibc (like 2.12) have cleaned up headers so you need to include sys/stat.h explicitly for S_XXX macros Gentoo bug 332853 --- netstat.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/netstat.c b/netstat.c index 0e3466b..5721c1c 100644 --- a/netstat.c +++ b/netstat.c @@ -6,7 +6,7 @@ * NET-3 Networking Distribution for the LINUX operating * system. * - * Version: $Id: netstat.c,v 1.69 2010-03-05 15:35:02 ecki Exp $ + * Version: $Id: netstat.c,v 1.70 2010-08-15 16:09:31 vapier Exp $ * * Authors: Fred Baumgarten, * Fred N. van Kempen, @@ -85,6 +85,7 @@ #include #include #include +#include #include #include -- cgit v1.2.3-65-gdbad