blob: ea77852879f81eae0c9a1338d4fa4a88f0292e6b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#ifdef __hpux
#define _BOOL_DEFINED
#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>
#endif /* __hpux */
#ifndef getmaxyx
#define getmaxyx(w,y,x) ((y) = getmaxy(w), (x) = getmaxx(w))
#endif
|