Thomas,
It looks like you committed some fixes in datetime.c and dt.c to the
REL6_4 branch without committing changes in dt.h that they depend on...
they do not compile right now :-(.
I got my copy to build by un-ifdefing a couple of things, but I assume
that's not the intended answer so I won't commit it.
regards, tom lane