Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0c1a160

Browse files
committed
Add missing #include.
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, sincewe're using time(2), but the indirect include masked the problem on mostplatforms.Andres Freund
1 parent63e2004 commit0c1a160

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎src/bin/psql/command.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
#endif
1414

1515
#include<ctype.h>
16+
#include<time.h>
1617
#ifdefHAVE_PWD_H
1718
#include<pwd.h>
1819
#endif

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp