diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-04-27 00:34:44 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-04-27 00:34:44 +0000 |
commit | e39867df6dae55096b52d4d0b60415d216e168da (patch) | |
tree | c5a0f7fc4eeb9e2592a0018feb1f0e8f5d4fe799 | |
parent | 3886218d5f613047e5fad845d2934c0e39b5fa9e (diff) |
- (bal) arpa/nameser.h does not exist on Cygwin. Patch by Corinna
Vinschen <vinschen@redhat.com>
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | openbsd-compat/inet_ntop.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -3,6 +3,8 @@ patch based on 2.5.2 version by djm. - (bal) Build manpages and config files once unless changed. Patch by Carson Gaspar <carson@taltos.org> + - (bal) arpa/nameser.h does not exist on Cygwin. Patch by Corinna + Vinschen <vinschen@redhat.com> 20010425 - OpenBSD CVS Sync @@ -5258,4 +5260,4 @@ - Wrote replacements for strlcpy and mkdtemp - Released 1.0pre1 -$Id: ChangeLog,v 1.1173 2001/04/27 00:31:07 mouring Exp $ +$Id: ChangeLog,v 1.1174 2001/04/27 00:34:44 mouring Exp $ diff --git a/openbsd-compat/inet_ntop.c b/openbsd-compat/inet_ntop.c index 1c235796..bf3d97ad 100644 --- a/openbsd-compat/inet_ntop.c +++ b/openbsd-compat/inet_ntop.c @@ -34,7 +34,9 @@ static char rcsid[] = "$OpenBSD: inet_ntop.c,v 1.1 1997/03/13 19:07:32 downsj Ex #include "openbsd-compat/fake-socket.h" #include <netinet/in.h> #include <arpa/inet.h> +#ifndef HAVE_CYGWIN #include <arpa/nameser.h> +#endif #include <string.h> #include <errno.h> #include <stdio.h> |