From cb6fb0d3cde13115b75e1f736071b2ee2520677d Mon Sep 17 00:00:00 2001 From: sperber Date: Sun, 3 Jun 2001 17:37:26 +0000 Subject: [PATCH] Fix [ #407067 ] Compile error on AIX 4.3. --- scsh/network1.c | 2 +- unix.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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] == '.') {