Looking again, it seems lesstif is not the problem. We are directly including the Motif private headers XmP.h from our "ScrolleGEP.h". In that case one small patch should do it. Does ddd.extern_C.patch work?