aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Henderson <bryanh@giraffe.netgate.net>1996-11-10 01:35:39 +0000
committerBryan Henderson <bryanh@giraffe.netgate.net>1996-11-10 01:35:39 +0000
commit4e70c059799c4be784190cfaa6f9ae02b54206f0 (patch)
treedac548af40ba2adc2f38c2ed316b6a491ec522ff
parent0e5ab3655c6cc9ff024028940879cd71d6058169 (diff)
downloadpostgresql-4e70c059799c4be784190cfaa6f9ae02b54206f0.tar.gz
postgresql-4e70c059799c4be784190cfaa6f9ae02b54206f0.zip
Add #include <unistd.h> to quiet warning about missing getopt() declaration.
-rw-r--r--src/bin/pg_dump/pg_dump.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c
index 0c35d510937..e8bffdafff9 100644
--- a/src/bin/pg_dump/pg_dump.c
+++ b/src/bin/pg_dump/pg_dump.c
@@ -20,7 +20,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.13 1996/11/08 06:01:03 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.14 1996/11/10 01:35:39 bryanh Exp $
*
* Modifications - 6/10/96 - dave@bensoft.com - version 1.13.dhb
*
@@ -43,6 +43,7 @@
*/
#include <stdlib.h>
+#include <unistd.h> /* for getopt() */
#include <stdio.h>
#include <string.h>
#include <sys/param.h> /* for MAXHOSTNAMELEN on most */