Possible Bug, with including
Possible Bug, with including
- Subject: Possible Bug, with including
- From: Matt Jaffa <email@hidden>
- Date: Thu, 11 Mar 2004 12:21:36 -0700
Hi,
I am using this in my code:
struct inpcb * inp;
inp = ((struct inpcb *)(so)->so_pcb);
if(inp)
printf("address = %s\n", inet_ntoa(inp->inp_faddr));
and when I compile it threw out 3 errors:
One letting me know that inpcb was an incomplete type,
so I fixed that by including <netinet/in_pcb.h>
Now i am getting one error:
netkey/key_var.h No such file or directory
this error comes from keydb.h which is some how included with
in_pcb.h some chain of includes
now if netkey/key_var.h doesn't exist in the include directories why
is it included in keydb.h
How do I get around this error?
Thanks,
Matt
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.