From owner-freebsd-questions Fri Mar 5 20:10:51 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id A75C614FC3 for ; Fri, 5 Mar 1999 20:10:43 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.1/8.9.1) id WAA14889; Fri, 5 Mar 1999 22:10:24 -0600 (CST) Date: Fri, 5 Mar 1999 22:10:24 -0600 From: Dan Nelson To: Sean-Paul Rees Cc: questions@FreeBSD.ORG Subject: Re: socket.h errors Message-ID: <19990305221023.A14607@dan.emsphone.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: ; from "Sean-Paul Rees" on Fri Mar 5 19:28:44 GMT 1999 X-OS: FreeBSD 3.1-STABLE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (Mar 05), Sean-Paul Rees said: > Background: I have written several little network utilities. > > Problem: I get a strange socket.h set of parse errors, and I can't figure > out whats wrong. > > Information: I get the following errors. How do I fix them? > [sean@valiant]-~/coding/c/netutil/netutil> make > gcc -O2 -c main.c > In file included from netutil.h:18, > from main.c:17: > /usr/include/sys/socket.h:139: parse error before `u_char' > /usr/include/sys/socket.h:139: warning: no semicolon at end of struct or man inet and make sure you have all the required #includes, in the right order. -Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message