pull in <netinet/in.h>, s/#Include/#include, and fix up __dn_comp() prototype,
so that this compiles.
This commit is contained in:
parent
11342179b7
commit
f162946f96
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: __dn_comp.c,v 1.1 1997/04/22 06:55:37 mrg Exp $ */
|
/* $NetBSD: __dn_comp.c,v 1.2 1997/04/22 18:53:16 cgd Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* written by matthew green, 22/04/97.
|
* written by matthew green, 22/04/97.
|
||||||
@ -12,9 +12,10 @@ __indr_reference(__dn_comp,dn_comp);
|
|||||||
#else
|
#else
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#Include <resolv.h>
|
#include <netinet/in.h>
|
||||||
|
#include <resolv.h>
|
||||||
|
|
||||||
extern int __dn_comp __P((const char *, u_char *, u_char *, u_char *, int));
|
extern int __dn_comp __P((const char *, u_char *, int, u_char **, u_char **));
|
||||||
|
|
||||||
#undef dn_comp
|
#undef dn_comp
|
||||||
int
|
int
|
||||||
|
Loading…
x
Reference in New Issue
Block a user