aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/async.c
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1997-12-17 04:44:50 +0000
committerMarc G. Fournier <scrappy@hub.org>1997-12-17 04:44:50 +0000
commit9ef6b32c4711f16b93cd51ce4bcf48c06a53f729 (patch)
treea24c1b56e0e4e591bfd1abd613173b71ec87da77 /src/backend/commands/async.c
parente2d9501094815b141eff6c9338897068eb5868db (diff)
downloadpostgresql-9ef6b32c4711f16b93cd51ce4bcf48c06a53f729.tar.gz
postgresql-9ef6b32c4711f16b93cd51ce4bcf48c06a53f729.zip
Makefile cleaned up
async.c: #include <port-protos.h> surrounded by an #ifdef HAVE_STRDUP vacuum.c: #include <port-protos.h> commented out...can someone comment as to why it was included, as it doesn't seem to have any effect under FreeBSD so far...would like some sort of #ifdef wrapper like async.c if possible
Diffstat (limited to 'src/backend/commands/async.c')
-rw-r--r--src/backend/commands/async.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/backend/commands/async.c b/src/backend/commands/async.c
index 42a607051f3..0ce2d6403cf 100644
--- a/src/backend/commands/async.c
+++ b/src/backend/commands/async.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/commands/async.c,v 1.25 1997/12/06 22:56:24 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/commands/async.c,v 1.26 1997/12/17 04:44:49 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
@@ -82,7 +82,9 @@
#include <commands/async.h>
#include <libpq/libpq.h>
-#include <port-protos.h> /* for strdup() */
+#ifndef HAVE_STRDUP
+# include <port-protos.h> /* for strdup() */
+#endif
#include <storage/lmgr.h>