Remove pg_trace.h inclusion from c.h and add it to the .c files that need it.
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 11 Mar 2009 00:08:07 +0000 (00:08 +0000)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 11 Mar 2009 00:08:07 +0000 (00:08 +0000)
commitf57c2c212bf7fdb26205cc68c7207990b43f17a9
tree1fde94df51dc504df6d5d59ed71a4764a725356b
parent6ebf6e7c49a5a573cbf0f99d609661b9c6ffe325
Remove pg_trace.h inclusion from c.h and add it to the .c files that need it.
Only needed in 8.3 because it's already this way in HEAD, and older branches
did not support DTrace.  This allows external modules to compile on Linux
machines where SystemTap support was recently added, when the required
SystemTap headers are not present on the build machine.

Approach suggested by Tom, after a RPM build trouble report by Devrim Gunduz.
src/backend/access/transam/xact.c
src/backend/storage/lmgr/lock.c
src/backend/storage/lmgr/lwlock.c
src/include/c.h