diff --git a/scsh/network1.c b/scsh/network1.c index 5eed933..e1d2e53 100644 --- a/scsh/network1.c +++ b/scsh/network1.c @@ -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 diff --git a/unix.c b/unix.c index f5fdb76..c5eb30c 100644 --- a/unix.c +++ b/unix.c @@ -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] == '.') {