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

Commitc36496a

Browse files
committed
Include <getopt.h> if available, to avoid warnings on Windows.
1 parentc87ddba commitc36496a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎src/bin/pg_resetxlog/pg_resetxlog.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
2424
* Portions Copyright (c) 1994, Regents of the University of California
2525
*
26-
* $PostgreSQL: pgsql/src/bin/pg_resetxlog/pg_resetxlog.c,v 1.24 2004/08/29 16:34:48 tgl Exp $
26+
* $PostgreSQL: pgsql/src/bin/pg_resetxlog/pg_resetxlog.c,v 1.25 2004/11/17 21:37:47 tgl Exp $
2727
*
2828
*-------------------------------------------------------------------------
2929
*/
@@ -36,6 +36,9 @@
3636
#include<sys/time.h>
3737
#include<time.h>
3838
#include<unistd.h>
39+
#ifdefHAVE_GETOPT_H
40+
#include<getopt.h>
41+
#endif
3942

4043
#include"access/xlog.h"
4144
#include"access/xlog_internal.h"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp