diff options
author | Marc G. Fournier <scrappy@hub.org> | 1996-07-28 06:54:15 +0000 |
---|---|---|
committer | Marc G. Fournier <scrappy@hub.org> | 1996-07-28 06:54:15 +0000 |
commit | b834d27bc96423e2402ebd829f6892ff7b802f41 (patch) | |
tree | 7ec834a083fc670f140856b454f4684acdb8b137 /src/interfaces/libpq/fe-exec.c | |
parent | ed3240d093e0fda4a8caa33b85a2636b6400c80a (diff) | |
download | postgresql-b834d27bc96423e2402ebd829f6892ff7b802f41.tar.gz postgresql-b834d27bc96423e2402ebd829f6892ff7b802f41.zip |
small port fixes for sparc_solaris
submitted by: jason
Diffstat (limited to 'src/interfaces/libpq/fe-exec.c')
-rw-r--r-- | src/interfaces/libpq/fe-exec.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/interfaces/libpq/fe-exec.c b/src/interfaces/libpq/fe-exec.c index 41826ec6273..781190cf5ac 100644 --- a/src/interfaces/libpq/fe-exec.c +++ b/src/interfaces/libpq/fe-exec.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-exec.c,v 1.7 1996/07/27 02:55:19 scrappy Exp $ + * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-exec.c,v 1.8 1996/07/28 06:54:15 scrappy Exp $ * *------------------------------------------------------------------------- */ @@ -21,9 +21,17 @@ #include "libpq-fe.h" #include <signal.h> #include <sys/ioctl.h> +#ifdef PORTNAME_sparc_solaris +#include <sys/termios.h> +#endif #ifdef TIOCGWINSZ struct winsize screen_size; +#else +struct winsize { + int ws_row; + int ws_col; +} screen_size; #endif /* the tuples array in a PGresGroup has to grow to accommodate the tuples */ |