You should use absolute paths instead of relative:
#include "engine/enginesync.h"