projects
/
users
/
c2main
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2c6573
)
Tweak to test HAVE_GETOPT_H before including <getopt.h>, so as to
author
Tom Lane
<tgl@sss.pgh.pa.us>
Tue, 2 Oct 2001 22:38:43 +0000
(22:38 +0000)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Tue, 2 Oct 2001 22:38:43 +0000
(22:38 +0000)
build on systems without.
contrib/oid2name/oid2name.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/oid2name/oid2name.c
b/contrib/oid2name/oid2name.c
index 2bfb0a2a52038ae603c9dfba0f43c54d170bb5e7..99352cc19c4c6b2056ce4712f79e4f83a97d871c 100644
(file)
--- a/
contrib/oid2name/oid2name.c
+++ b/
contrib/oid2name/oid2name.c
@@
-5,11
+5,12
@@
b. palmer, bpalmer@crimelabs.net 1-17-2001
*/
+#include "postgres_fe.h"
-#include <stdlib.h>
#include <unistd.h>
-#i
nclude <string.h>
+#i
fdef HAVE_GETOPT_H
#include <getopt.h>
+#endif
#include "libpq-fe.h"