[Asterisk-bsd] utils.c will not compile
Dr. Rich Murphey
asterisk-bsd@lists.digium.com
Tue, 29 Jun 2004 14:06:05 -0500
This is a multi-part message in MIME format.
------=_NextPart_000_0062_01C45DE2.37C1B410
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
Yep, attached!
Rich
> -----Original Message-----
> From: asterisk-bsd-admin@lists.digium.com [mailto:asterisk-bsd-
> admin@lists.digium.com] On Behalf Of Chris Luke
> Sent: Tuesday, June 29, 2004 1:55 PM
> To: asterisk-bsd@lists.digium.com
> Subject: Re: [Asterisk-bsd] utils.c will not compile
>
> Make sure utils.h has #include <netinet/in.h> somewhere in its include
> tree.
>
> Chris.
>
> Olle E. Johansson wrote (on Jun 29):
> > Good fix. Still get a lot of these:
> >
> > In file included from app_festival.c:22:
> > ../include/asterisk/utils.h:32: warning: `struct in_addr' declared
> inside
> > parameter list
> > ../include/asterisk/utils.h:32: warning: its scope is only this
> definition
> > or declaration, which is probably not what you want.
> > ../include/asterisk/utils.h:32: warning: parameter has incomplete type
> >
> > Any help?
> >
> > /O
> > _______________________________________________
> > Asterisk-BSD mailing list
> > Asterisk-BSD@lists.digium.com
> > http://lists.digium.com/mailman/listinfo/asterisk-bsd
> >
> --
> == chrisy@flirble.org
> _______________________________________________
> Asterisk-BSD mailing list
> Asterisk-BSD@lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-bsd
>
------=_NextPart_000_0062_01C45DE2.37C1B410
Content-Type: text/plain;
name="utils.c.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="utils.c.txt"
Index: utils.c=0A=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
RCS file: /usr/cvsroot/asterisk/utils.c,v=0A=
retrieving revision 1.14=0A=
diff -u -r1.14 utils.c=0A=
--- utils.c 29 Jun 2004 12:56:46 -0000 1.14=0A=
+++ utils.c 29 Jun 2004 19:04:25 -0000=0A=
@@ -14,6 +14,7 @@=0A=
#include <unistd.h>=0A=
#include <sys/types.h>=0A=
#include <sys/socket.h>=0A=
+#include <netinet/in.h>=0A=
#include <arpa/inet.h>=0A=
#include <asterisk/lock.h>=0A=
#include <asterisk/utils.h>=0A=
------=_NextPart_000_0062_01C45DE2.37C1B410--