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

Commit667685c

Browse files
committed
Add required include to build with cygwin.
Andrew Chernow
1 parentf426fbf commit667685c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎src/test/thread/thread_test.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
77
* Portions Copyright (c) 1994, Regents of the University of California
88
*
9-
*$PostgreSQL: pgsql/src/test/thread/thread_test.c,v 1.5 2008/01/01 19:46:01 momjian Exp $
9+
*$PostgreSQL: pgsql/src/test/thread/thread_test.c,v 1.6 2008/11/18 21:17:26 mha Exp $
1010
*
1111
*This program tests to see if your standard libc functions use
1212
*pthread_setspecific()/pthread_getspecific() to be thread-safe.
@@ -47,6 +47,10 @@ typedef char bool;
4747
#include<fcntl.h>
4848
#include<errno.h>
4949

50+
/* CYGWIN requires this for MAXHOSTNAMELEN */
51+
#ifdef__CYGWIN__
52+
#include<sys/param.h>
53+
#endif
5054

5155
/******************************************************************
5256
* Windows Hacks

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp