projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63e2004
)
Add missing #include.
author
Heikki Linnakangas
Wed, 24 Apr 2013 16:11:25 +0000
(19:11 +0300)
committer
Heikki Linnakangas
Wed, 24 Apr 2013 16:14:28 +0000
(19:14 +0300)
On non-Windows systems, sys/time.h was pulled in by portability/instr_time.h,
which pulled in time.h. We certainly should include time.h directly, since
we're using time(2), but the indirect include masked the problem on most
platforms.
Andres Freund
src/bin/psql/command.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/psql/command.c
b/src/bin/psql/command.c
index 09939fda5dd1ec6f07caf442ed0afc615a2a6dc5..4e4c5bec7b25d0ccdc697b72e6f3c0036a653528 100644
(file)
--- a/
src/bin/psql/command.c
+++ b/
src/bin/psql/command.c
@@
-13,6
+13,7
@@
#endif
#include
+#include
#ifdef HAVE_PWD_H
#include
#endif