Date: Sat, 16 Dec 2000 22:22:54 +0000 (GMT) From: George Reid <greid@ukug.uk.freebsd.org> To: Dudecom3 Dudecom3 <mtadbf@hotmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Compiling prob Message-ID: <Pine.BSF.4.21.0012162221110.13997-100000@sobek.openirc.co.uk> In-Reply-To: <LAW2-F242A8UJ4Epktk000010dc@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 16 Dec 2000, Dudecom3 Dudecom3 wrote: <SNIP> > IP.c: In function `main': > IP.c:7: storage size of `sin' isn't known -> WTF? :)) > IP.c:5: warning: return type of `main' is not `int' You need to #include <netinet/in.h> for struct sockaddr_in. main() should be declared as returning an int. G "And then it comes to be that the soothing light at the end of your tunnel was just a freight train, comin' your way." George Reid * greid@ukug.uk.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0012162221110.13997-100000>