Skip to content

Commit b834d27

Browse files
committed
small port fixes for sparc_solaris
submitted by: jason
1 parent ed3240d commit b834d27

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/interfaces/libpq/fe-exec.c

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-exec.c,v 1.7 1996/07/27 02:55:19 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-exec.c,v 1.8 1996/07/28 06:54:15 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -21,9 +21,17 @@
2121
#include "libpq-fe.h"
2222
#include <signal.h>
2323
#include <sys/ioctl.h>
24+
#ifdef PORTNAME_sparc_solaris
25+
#include <sys/termios.h>
26+
#endif
2427

2528
#ifdef TIOCGWINSZ
2629
struct winsize screen_size;
30+
#else
31+
struct winsize {
32+
int ws_row;
33+
int ws_col;
34+
} screen_size;
2735
#endif
2836

2937
/* the tuples array in a PGresGroup has to grow to accommodate the tuples */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy