Date: Wed, 3 Apr 2002 23:17:13 +0300 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: Rohit Panda <prohit99@yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: problem in network programming using sockets Message-ID: <20020403201713.GD848@hades.hell.gr> In-Reply-To: <20020402121322.21012.qmail@web12806.mail.yahoo.com> References: <20020402121322.21012.qmail@web12806.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2002-04-02 04:13, Rohit Panda wrote: > i was trying to compile a program (which is using sockets) which > was running in linux.now i compiled the code but got some strange > errors. > > eg. /usr/include/sys/socket.h syntax error before `gid_t` > > all the errors is from the socket.h file. Try to wrap your lines at a reasonable length please. Say at 70-80 chars. You haven't included <sys/types.h> *before* <sys/socket.h>. #include <sys/types.h> #include <sys/socket.h> - Giorgos 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?20020403201713.GD848>