This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

error in include file bits/socket.h


Hi All,

I'm trying to make libraries for the source code for "Unix Network
Programing" book, on my RH Linux like platform.

I am getting the following error though:

In file included from /usr/include/sys/socket.h:36,
                 from unp.h:14,
                 from read_fd.c:2:
/usr/include/bits/socket.h:270: two or more data types in declaration of
`__cmsg_nxthdr

Can someone help me in this?

Thanks,
Nikhil


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]