[Asterisk-bsd] Error messages
Dr. Rich Murphey
asterisk-bsd@lists.digium.com
Fri, 16 Jul 2004 18:25:16 -0500
It complains about:
/usr/include/arpa/inet.h:89: warning: parameter has incomplete type
But it still builds and runs fine.
Cheers,
Rich
> -----Original Message-----
> From: asterisk-bsd-admin@lists.digium.com
> [mailto:asterisk-bsd-admin@lists.digium.com] On Behalf Of
> Olle E. Johansson
> Sent: Friday, July 16, 2004 3:15 PM
> To: asterisk-bsd@lists.digium.com
> Subject: [Asterisk-bsd] Error messages
>
> Still on FreeBSD 4.9, getting a lot of error messages. This
> patch helped...
> Anyone that can confirm this?
>
> /O
>
> Index: include/asterisk/utils.h
> ===================================================================
> RCS file: /usr/cvsroot/asterisk/include/asterisk/utils.h,v
> retrieving revision 1.6
> diff -u -r1.6 utils.h
> --- include/asterisk/utils.h 29 Jun 2004 17:54:25 -0000 1.6
> +++ include/asterisk/utils.h 16 Jul 2004 18:06:21 -0000
> @@ -12,6 +12,10 @@
> #ifndef _ASTERISK_UTIL_H
> #define _ASTERISK_UTIL_H
>
> +#ifndef _ARPA_INET_H_
> +#include <arpa/inet.h>
> +#endif
> +
> #include <netdb.h>
>
> static inline int ast_strlen_zero(const char *s)
>
> _______________________________________________
> Asterisk-BSD mailing list
> Asterisk-BSD@lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-bsd
>
>
>