INN commit: trunk (lib/inet_ntop.c tests/lib/inet_ntop-t.c)
INN Commit
Russ_Allbery at isc.org
Sat Sep 22 07:43:47 UTC 2007
Date: Saturday, September 22, 2007 @ 00:43:47
Author: iulius
Revision: 7690
AF_INET was undeclared in lib/inet_ntop.c (which broke the build of
the test suite).
Modified:
trunk/lib/inet_ntop.c
trunk/tests/lib/inet_ntop-t.c
-------------------------+
lib/inet_ntop.c | 1 +
tests/lib/inet_ntop-t.c | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
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>
/* This may already be defined by the system headers. */
#ifndef INET_ADDRSTRLEN
Modified: tests/lib/inet_ntop-t.c
===================================================================
--- tests/lib/inet_ntop-t.c 2007-09-21 20:04:24 UTC (rev 7689)
+++ tests/lib/inet_ntop-t.c 2007-09-22 07:43:47 UTC (rev 7690)
@@ -3,8 +3,8 @@
#include "config.h"
#include "clibrary.h"
+#include "portable/socket.h"
#include <errno.h>
-#include <netinet/in.h>
#include "libtest.h"
More information about the inn-committers
mailing list