2001-11-05 21:24:44 +03:00
|
|
|
#ifdef __hpux
|
|
|
|
#define _BOOL_DEFINED
|
2001-11-07 23:01:59 +03:00
|
|
|
#ifndef _XOPEN_SOURCE_EXTENDED
|
|
|
|
#include <sys/time.h>
|
|
|
|
#define _XOPEN_SOURCE_EXTENDED
|
|
|
|
#include <curses.h>
|
|
|
|
#include <form.h>
|
|
|
|
#undef _XOPEN_SOURCE_EXTENDED
|
|
|
|
#else
|
|
|
|
#include <curses.h>
|
|
|
|
#include <form.h>
|
|
|
|
#endif
|
|
|
|
#else /* __hpux */
|
|
|
|
#include <curses.h>
|
|
|
|
#include <form.h>
|
2001-11-05 21:24:44 +03:00
|
|
|
#endif /* __hpux */
|
|
|
|
|
2001-11-07 23:01:59 +03:00
|
|
|
#ifndef getmaxyx
|
|
|
|
#define getmaxyx(w,y,x) ((y) = getmaxy(w), (x) = getmaxx(w))
|
|
|
|
#endif
|