From owner-freebsd-questions Mon Mar 20 03:03:07 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id DAA21150 for questions-outgoing; Mon, 20 Mar 1995 03:03:07 -0800 Received: from zibbi.mikom.csir.co.za (zibbi.mikom.csir.co.za [146.64.24.58]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id DAA21137 for ; Mon, 20 Mar 1995 03:02:33 -0800 Received: (from jhay@localhost) by zibbi.mikom.csir.co.za (8.6.11/8.6.6) id MAA26926 for questions@FreeBSD.ORG; Mon, 20 Mar 1995 12:59:55 +0200 From: John Hay Message-Id: <199503201059.MAA26926@zibbi.mikom.csir.co.za> Subject: make netstat breaks To: questions@FreeBSD.org (FreeBSD-questions) Date: Mon, 20 Mar 1995 12:59:55 +0200 (SAT) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 754 Sender: questions-owner@FreeBSD.org Precedence: bulk Forwarded message: >From jhay Mon Mar 20 12:58:42 1995 Subject: make netstat breaks To: question Date: Mon, 20 Mar 1995 12:58:42 +0200 (SAT) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 494 > Hi, > > After the latest changes to kvm.h I get: > cc -O2 -I/sys -c /usr/src/usr.bin/netstat/unix.c > In file included from /usr/src/usr.bin/netstat/unix.c:41: > /usr/include/kvm.h:66: parse error before `kvm_uread' > /usr/include/kvm.h:66: parse error before `u_long' > > Shouldn't kvm.h include sys/types.h ? or should netstat include it? Maybe I was too quick. I think kvm.h should be moved to be after sys/param.h in netstat/unix.c. -- John Hay -- jhay@mikom.csir.co.za -- John Hay -- jhay@mikom.csir.co.za