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

Commita5dafa3

Browse files
committed
Tweak to test HAVE_GETOPT_H before including <getopt.h>, so as to
build on systems without.
1 parentf2c6573 commita5dafa3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎contrib/oid2name/oid2name.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@
55
b. palmer, bpalmer@crimelabs.net 1-17-2001
66
77
*/
8+
#include"postgres_fe.h"
89

9-
#include<stdlib.h>
1010
#include<unistd.h>
11-
#include<string.h>
11+
#ifdefHAVE_GETOPT_H
1212
#include<getopt.h>
13+
#endif
1314

1415
#include"libpq-fe.h"
1516

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp