Skip to content
Snippets Groups Projects
Commit d242b64b authored by Tom Lane's avatar Tom Lane
Browse files

Tweak includes to avoid compiler warning on HPUX.

parent 7476e371
No related branches found
No related tags found
No related merge requests found
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.133 2000/01/09 12:13:24 ishii Exp $ * $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.134 2000/01/20 04:11:52 tgl Exp $
* *
* NOTES * NOTES
* *
...@@ -34,7 +34,6 @@ ...@@ -34,7 +34,6 @@
*/ */
#include <unistd.h> #include <unistd.h>
#include <signal.h> #include <signal.h>
#include <time.h>
#include <sys/wait.h> #include <sys/wait.h>
#include <ctype.h> #include <ctype.h>
#include <sys/types.h> #include <sys/types.h>
...@@ -43,6 +42,7 @@ ...@@ -43,6 +42,7 @@
#include <sys/socket.h> #include <sys/socket.h>
#include <errno.h> #include <errno.h>
#include <fcntl.h> #include <fcntl.h>
#include <time.h>
#include <sys/param.h> #include <sys/param.h>
#include "postgres.h" #include "postgres.h"
......
...@@ -24,19 +24,12 @@ ...@@ -24,19 +24,12 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-misc.c,v 1.35 2000/01/18 19:05:31 momjian Exp $ * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-misc.c,v 1.36 2000/01/20 04:08:46 tgl Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
#include <errno.h>
#include <signal.h>
#include <time.h>
#include "postgres.h" #include "postgres.h"
#include "libpq-fe.h"
#include "libpq-int.h"
#include "pqsignal.h"
#ifdef WIN32 #ifdef WIN32
#include "win32.h" #include "win32.h"
...@@ -45,10 +38,18 @@ ...@@ -45,10 +38,18 @@
#include <sys/time.h> #include <sys/time.h>
#endif #endif
#include <errno.h>
#include <signal.h>
#include <time.h>
#ifdef HAVE_SYS_SELECT_H #ifdef HAVE_SYS_SELECT_H
#include <sys/select.h> #include <sys/select.h>
#endif #endif
#include "libpq-fe.h"
#include "libpq-int.h"
#include "pqsignal.h"
#define DONOTICE(conn,message) \ #define DONOTICE(conn,message) \
((*(conn)->noticeHook) ((conn)->noticeArg, (message))) ((*(conn)->noticeHook) ((conn)->noticeArg, (message)))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment