Re: ALIAS MOD in pl 11

From: Barid Bel Medar (icarus@berkshire.net)
Date: 05/16/96


On Thu, 16 May 1996, Mud Account wrote:

> 
> 
> > 	structs.h:876: parse error before `socket_t'
> > 	structs.h:876: warning: no semicolon at end of struct or union
> > 	structs.h:905: parse error before `}'
> > 
> > struct descriptor_data {
> >    socket_t     descriptor;     /* file descriptor for socket           */
>      ^^^^^^^^
>      replace socket_t with int

#include <sys/types.h> should fix the problem.  If not, you need to add:

typedef int socket_t;

to either /usr/include/sys/types.h or /usr/include/sys/socket.h.  It 
should already be there, though.

------------------------------------------------------------------
Barid Bel Medar                               icarus@berkshire.net
Knights of the Cosmos            Shayol Ghul Resort and Health Spa
------------------------------------------------------------------
"I  am  returning  this otherwise good typing paper to you because
someone has printed gibberish all over it and  put  your  name  at
the top." - English Professor, Ohio University
------------------------------------------------------------------



This archive was generated by hypermail 2b30 : 12/18/00 PST