Work around removal of EAI_NODATA from netdb.h.

This commit is contained in:
Dag-Erling Smørgrav 2004-01-18 22:31:30 +00:00
parent 665d6246c3
commit 8d71fed0f2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=124696

View File

@ -1,4 +1,5 @@
/* $Id: fake-rfc2553.h,v 1.6.2.1 2003/09/22 02:09:18 dtucker Exp $ */
/* $FreeBSD$ */
/*
* Copyright (C) 2000-2003 Damien Miller. All rights reserved.
@ -113,7 +114,7 @@ struct sockaddr_in6 {
# define NI_MAXHOST 1025
#endif /* !NI_MAXHOST */
#ifndef EAI_NODATA
#ifndef EAI_NONAME
# define EAI_NODATA 1
# define EAI_MEMORY 2
# define EAI_NONAME 3