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)
commit9a1dd6ed4bb9d7eee25defff149e93cc9e76b109
treeb3f5f8ce645d8b1a0ac4ec2055918875a725550c
parent6f7e1d1db8897fd3de2f5262b3d226a84407306f
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