In order to compile I had to # include "utils/int8.h" in hll.c Platform: debian / postgresql-9.2.2 / gcc-4.7