Skip to content

Commit 6ef5846

Browse files
committed
Add missing includes.
1 parent 9527ce3 commit 6ef5846

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/interfaces/libpq/fe-misc.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,15 @@
2424
*
2525
*
2626
* IDENTIFICATION
27-
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-misc.c,v 1.12 1998/05/06 23:53:48 momjian Exp $
27+
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-misc.c,v 1.13 1998/05/07 16:17:16 momjian Exp $
2828
*
2929
*-------------------------------------------------------------------------
3030
*/
3131

3232
#include <stdlib.h>
3333
#include <stdio.h>
3434
#include <string.h>
35+
#include <errno.h>
3536
#include <time.h>
3637
#if !defined(NO_UNISTD_H)
3738
#include <unistd.h>

src/interfaces/libpq/fe-print.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* didn't really belong there.
1010
*
1111
* IDENTIFICATION
12-
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-print.c,v 1.1 1998/05/07 14:52:52 momjian Exp $
12+
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-print.c,v 1.2 1998/05/07 16:17:18 momjian Exp $
1313
*
1414
*-------------------------------------------------------------------------
1515
*/
@@ -18,6 +18,7 @@
1818
#include <signal.h>
1919
#include <string.h>
2020
#include <unistd.h>
21+
#include <sys/ioctl.h>
2122
#include "libpq/pqsignal.h"
2223
#include "libpq-fe.h"
2324
#ifndef HAVE_TERMIOS_H

0 commit comments

Comments
 (0)