INN commit: trunk (lib/inet_ntop.c tests/lib/inet_ntop-t.c)

Julien ÉLIE julien at trigofacile.com
Sat Sep 22 07:59:11 UTC 2007


Hi,

> AF_INET was undeclared in lib/inet_ntop.c (which broke the build of
> the test suite).
>
> Modified: lib/inet_ntop.c
> ===================================================================
> --- lib/inet_ntop.c 2007-09-21 20:04:24 UTC (rev 7689)
> +++ lib/inet_ntop.c 2007-09-22 07:43:47 UTC (rev 7690)
> @@ -16,6 +16,7 @@
> #include "clibrary.h"
> #include <errno.h>
> #include <netinet/in.h>
> +#include <sys/socket.h>

Regarding the lib directory, why aren't these files mentioned in
lib/Makefile?

asprintf.c
inet_ntop.c
perl.c
seteuid.c
snprintf.c

Shouldn't they be dealt with during the build?
(Would asprintf.c correctly be used if configure sets HAVE_ASPRINTF
to 0?)

-- 
Julien ÉLIE

« Ta remise sur pied lui a fait perdre la tête ! » (Astérix) 



More information about the inn-workers mailing list