delete defined(sun), it could be invaded in the user namespace. Suggested
by mrg@
This commit is contained in:
parent
206ec737e8
commit
461d0372fd
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: readline.h,v 1.28 2009/08/30 15:41:05 christos Exp $ */
|
||||
/* $NetBSD: readline.h,v 1.29 2009/08/31 00:05:43 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1997 The NetBSD Foundation, Inc.
|
||||
@ -67,7 +67,7 @@ typedef KEYMAP_ENTRY *Keymap;
|
||||
|
||||
#ifndef CTRL
|
||||
#include <sys/ioctl.h>
|
||||
#if !defined(sun) && !defined(__sun) && !defined(__hpux) && !defined(_AIX)
|
||||
#if !defined(__sun) && !defined(__hpux) && !defined(_AIX)
|
||||
#include <sys/ttydefaults.h>
|
||||
#endif
|
||||
#ifndef CTRL
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: sys.h,v 1.11 2009/08/30 15:41:05 christos Exp $ */
|
||||
/* $NetBSD: sys.h,v 1.12 2009/08/31 00:05:43 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1992, 1993
|
||||
@ -101,7 +101,7 @@ char *fgetln(FILE *fp, size_t *len);
|
||||
#define REGEX /* Use POSIX.2 regular expression functions */
|
||||
#undef REGEXP /* Use UNIX V8 regular expression functions */
|
||||
|
||||
#if defined(sun) || defined(__sun)
|
||||
#if defined(__sun)
|
||||
extern int tgetent(char *, const char *);
|
||||
extern int tgetflag(char *);
|
||||
extern int tgetnum(char *);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: term.c,v 1.54 2009/08/30 15:41:05 christos Exp $ */
|
||||
/* $NetBSD: term.c,v 1.55 2009/08/31 00:05:43 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1992, 1993
|
||||
@ -37,7 +37,7 @@
|
||||
#if 0
|
||||
static char sccsid[] = "@(#)term.c 8.2 (Berkeley) 4/30/95";
|
||||
#else
|
||||
__RCSID("$NetBSD: term.c,v 1.54 2009/08/30 15:41:05 christos Exp $");
|
||||
__RCSID("$NetBSD: term.c,v 1.55 2009/08/31 00:05:43 christos Exp $");
|
||||
#endif
|
||||
#endif /* not lint && not SCCSID */
|
||||
|
||||
@ -61,7 +61,7 @@ __RCSID("$NetBSD: term.c,v 1.54 2009/08/30 15:41:05 christos Exp $");
|
||||
#endif
|
||||
/* Solaris's term.h does horrid things. */
|
||||
|
||||
#if defined(HAVE_TERM_H) && !defined(sun) && !defined(__sun)
|
||||
#if defined(HAVE_TERM_H) && !defined(__sun)
|
||||
#include <term.h>
|
||||
#endif
|
||||
#include <sys/types.h>
|
||||
|
Loading…
Reference in New Issue
Block a user