summaryrefslogtreecommitdiff
path: root/openbsd-compat/inet_ntop.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-04-27 00:34:44 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-04-27 00:34:44 +0000
commite39867df6dae55096b52d4d0b60415d216e168da (patch)
treec5a0f7fc4eeb9e2592a0018feb1f0e8f5d4fe799 /openbsd-compat/inet_ntop.c
parent3886218d5f613047e5fad845d2934c0e39b5fa9e (diff)
- (bal) arpa/nameser.h does not exist on Cygwin. Patch by Corinna
Vinschen <vinschen@redhat.com>
Diffstat (limited to 'openbsd-compat/inet_ntop.c')
-rw-r--r--openbsd-compat/inet_ntop.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsd-compat/inet_ntop.c b/openbsd-compat/inet_ntop.c
index 1c2357961..bf3d97ade 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
34#include "openbsd-compat/fake-socket.h" 34#include "openbsd-compat/fake-socket.h"
35#include <netinet/in.h> 35#include <netinet/in.h>
36#include <arpa/inet.h> 36#include <arpa/inet.h>
37#ifndef HAVE_CYGWIN
37#include <arpa/nameser.h> 38#include <arpa/nameser.h>
39#endif
38#include <string.h> 40#include <string.h>
39#include <errno.h> 41#include <errno.h>
40#include <stdio.h> 42#include <stdio.h>