Index: src/Makefile.global.in
===================================================================
RCS file: /cvsroot/pgsql-server/src/Makefile.global.in,v
retrieving revision 1.182
diff -c -c -r1.182 Makefile.global.in
*** src/Makefile.global.in	11 May 2004 21:57:14 -0000	1.182
--- src/Makefile.global.in	13 May 2004 23:03:12 -0000
***************
*** 177,182 ****
--- 177,188 ----
    CFLAGS += -Wall -Wmissing-prototypes -Wmissing-declarations
  endif
  
+ # Unixware needs threads for everything that uses libpq
+ ifeq ($(PORTNAME),unixware)
+   CFLAGS += "$PTHREAD_CFLAGS"
+ endif
+ 
+ 
  # Kind-of compilers
  
  YACC = @YACC@
