|
6 | 6 | * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group |
7 | 7 | * Portions Copyright (c) 1994, Regents of the University of California |
8 | 8 | * |
9 | | - *$PostgreSQL: pgsql/src/tools/thread/thread_test.c,v 1.25 2004/04/26 00:38:25 momjian Exp $ |
| 9 | + *$PostgreSQL: pgsql/src/tools/thread/thread_test.c,v 1.26 2004/04/27 17:22:41 momjian Exp $ |
10 | 10 | * |
11 | 11 | *This program tests to see if your standard libc functions use |
12 | 12 | *pthread_setspecific()/pthread_getspecific() to be thread-safe. |
|
20 | 20 | *------------------------------------------------------------------------- |
21 | 21 | */ |
22 | 22 |
|
23 | | -#include<stdio.h> |
| 23 | +#include"postgres.h" |
24 | 24 |
|
| 25 | +#include<stdio.h> |
25 | 26 | #include<stdlib.h> |
26 | 27 | #include<unistd.h> |
27 | 28 | #include<netdb.h> |
|
31 | 32 | #include<fcntl.h> |
32 | 33 | #include<errno.h> |
33 | 34 |
|
34 | | -#include"postgres.h" |
35 | | - |
36 | 35 | #ifndefENABLE_THREAD_SAFETY |
37 | 36 | int |
38 | 37 | main(intargc,char*argv[]) |
|