Home arrow Debugging Tips arrow warning: 'struct sockaddr' declared inside parameter list
warning: 'struct sockaddr' declared inside parameter list PDF
Saturday, 30 April 2011
If you get this error:

warning: 'struct sockaddr' declared inside parameter list
warning: its scope is only this definition or declaration, which is probably not what you want

Then you probably forgot to include in your C code the following C header file:

#include <sys/socket.h>


Last Updated ( Saturday, 30 April 2011 )
 
< Prev   Next >

Other BSD Systems

OpenBSD

Misc

Solaris

Polls

Best BSD firewall?