Fix [ #407067 ] Compile error on AIX 4.3.

This commit is contained in:
sperber 2001-06-03 17:37:26 +00:00
parent 24182ecc89
commit cb6fb0d3cd
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@
/* Make sure our exports match up w/the implementation: */
#include "network1.h"
#ifndef __CYGWIN__
#if !defined(__CYGWIN__) && !defined(_AIX)
extern int h_errno;
#endif

2
unix.c
View File

@ -523,7 +523,7 @@ fill_the_table(void)
entry.n_scnum != N_UNDEF &&
entry.n_scnum != N_DEBUG)
{
extern char *ldgetname(LDFILE *, SYMENT *);
extern char *ldgetname(LDFILE *, void *);
char *p = ldgetname(f, &entry);
if (p != NULL && p[0] == '.') {