You probably need to include one or both of these lines before you #include:
#define _SOCKET_SOURCE
#define _POSIX_SOURCE
or add -D_SOCKET_SOURCE -D_POSIX_SOURCE
----- Original Message -----
From: <[log in to unmask]>
To: <[log in to unmask]>
Sent: Wednesday, October 03, 2001 4:20 PM
Subject: berkeley socket include files
> What are the correct include files to use for berkeley sockets in C and
> where are they available? I am using the include files socket.h, in.h,
> and types.h from GNU. When I compile I am getting syntax errors in the
> header files because some of the types are undefined. I am thinking I
> might be missing a file.
>
> **********
> Posted from www.3kworld.com
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
>
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *