]> granicus.if.org Git - postgresql/commitdiff
small port fixes for sparc_solaris
authorMarc G. Fournier <scrappy@hub.org>
Sun, 28 Jul 1996 06:54:15 +0000 (06:54 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Sun, 28 Jul 1996 06:54:15 +0000 (06:54 +0000)
submitted by: jason

src/interfaces/libpq/fe-exec.c

index 41826ec6273600b8b2cca610726337f90720dd47..781190cf5ac48eb2e323984e061a4d41387f0783 100644 (file)
@@ -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 $
  *
  *-------------------------------------------------------------------------
  */
 #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 */