Messages in this thread | | | From | (Alan Modra) | Subject | Re: Socket header | Date | Thu, 19 Dec 1996 15:41:38 +1030 (CST) |
| |
> root@analogic.com (Richard B. Johnson) > In the following include file, cmsg_data[0] is not properly declared. > We need to declare the first element in an array of unknown size. ANSI > allows cmsg_data[1], but not cmsg_data[0]. I have recompiled the kernel > with this change and everything is okay. I also recompiled several > network programs that use sockets and they compile and work. > > [erroneous patch deleted]
Hum. You'll also need to fix all the length calculations that use sizeof(struct cmsghdr). See net/core/scm.c
| |