aboutsummaryrefslogtreecommitdiff
path: root/src/port/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/port/thread.c')
-rw-r--r--src/port/thread.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/port/thread.c b/src/port/thread.c
index 729c0e8ad3c..a37a0ed4fd9 100644
--- a/src/port/thread.c
+++ b/src/port/thread.c
@@ -7,14 +7,16 @@
*
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
*
- * $Id: thread.c,v 1.10 2003/09/29 03:32:05 momjian Exp $
+ * $Id: thread.c,v 1.11 2003/10/24 20:48:10 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#include "postgres.h"
+#if defined(USE_THREADS)
#include <pthread.h>
+#endif
#include <sys/types.h>
#include <pwd.h>
#include <errno.h>