The problem in that link is stated like this: lstate.h uses TM_N from ltm.h and lstate.h uses nothing from ltm.h Maybe I am missing something, but that statement seems slightly contradictory.