From b498b795a08527e72c813aa046dbafa8084a9994 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Tue, 27 Apr 2004 17:22:41 +0000 Subject: [PATCH] Move postgres.h to the top of the C file. --- src/tools/thread/thread_test.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/tools/thread/thread_test.c b/src/tools/thread/thread_test.c index 69ae43c0d6..02e113db76 100644 --- a/src/tools/thread/thread_test.c +++ b/src/tools/thread/thread_test.c @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/tools/thread/thread_test.c,v 1.25 2004/04/26 00:38:25 momjian Exp $ + * $PostgreSQL: pgsql/src/tools/thread/thread_test.c,v 1.26 2004/04/27 17:22:41 momjian Exp $ * * This program tests to see if your standard libc functions use * pthread_setspecific()/pthread_getspecific() to be thread-safe. @@ -20,8 +20,9 @@ *------------------------------------------------------------------------- */ -#include +#include "postgres.h" +#include #include #include #include @@ -31,8 +32,6 @@ #include #include -#include "postgres.h" - #ifndef ENABLE_THREAD_SAFETY int main(int argc, char *argv[]) -- 2.11.0