Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
zsh 4.04 on HP-UX
- X-seq: zsh-workers 16856
- From: Mark Lakata <lakata@xxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: zsh 4.04 on HP-UX
- Date: Mon, 18 Mar 2002 17:03:14 -0800 (PST)
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
I had to make 2 small changes in order to get zsh to compile on HP-UX 10.20,
gcc 2.95.2.
I had to explicitly set this defines
#define TERM_H_NEEDS_CURSES_H
Also, I added the 'extern int h_errno' declaration to zsh_gethostbyname2(). I
saw the USE_LOCAL_H_ERRNO, but the problem is not that the h_errno doesn't
exist, but just that it isn't declared.
# ifndef HAVE_GETHOSTBYNAME2
extern int h_errno;
/**/
static struct hostent *
zsh_gethostbyname2(char const *name, int af)
{
if(af != AF_INET) {
h_errno = NO_RECOVERY;
return NULL;
}
return gethostbyname(name);
}
...
cheers,
Mark
Mark Lakata, Staff Engineer 1225 Charleston Road voice 650-567-5170
MIPS Technologies Mountain View CA 94043 fax 650-567-5002
Messages sorted by:
Reverse Date,
Date,
Thread,
Author