From 9e818012346fbee36ba481866b3d0005ac6816ea Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 29 Sep 1999 20:57:39 +0000 Subject: Compilation fix for AIX. svn path=/trunk/; revision=2625 --- mx.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mx.h') diff --git a/mx.h b/mx.h index 0a28f2b0..cc0e28d5 100644 --- a/mx.h +++ b/mx.h @@ -9,6 +9,9 @@ struct mxentry extern struct mxentry * getmxrecords(const char *); /* some versions of FreeBSD should declare this but don't */ +/* But only declare it if it isn't already */ +#ifndef h_errno extern int h_errno; +#endif /* ndef h_errno */ /* mx.h ends here */ -- cgit v1.2.3