diff options
author | Mark Spencer <markster@digium.com> | 2004-12-14 23:36:30 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2004-12-14 23:36:30 +0000 |
commit | 9d40b8ee8045660d58281553e34b7f45406951c0 (patch) | |
tree | 48694f38698e4ead3840305333816193c7fcd8a0 /editline/sys.h | |
parent | 0f205bb07903a70272e8ae2403afe20ceb06cedc (diff) |
Merge slimey's Solaris compatibility (with small mods) (bug #2740)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4446 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'editline/sys.h')
-rwxr-xr-x | editline/sys.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editline/sys.h b/editline/sys.h index 9970f18f8..a306d1df7 100755 --- a/editline/sys.h +++ b/editline/sys.h @@ -96,10 +96,12 @@ typedef void (*sig_t)(int); /* * Broken hdrs. */ +#ifndef SOLARIS extern int tgetent(const char *bp, char *name); extern int tgetflag(const char *id); extern int tgetnum(const char *id); extern char *tgetstr(const char *id, char **area); +#endif extern char *tgoto(const char *cap, int col, int row); extern int tputs(const char *str, int affcnt, int (*putc)(int)); extern char *getenv(const char *); |