if the included file has a session_start() or header() function on it, that would cause the problem.
Basicly, the error occurs if either the session_start() or header() functions are used after there is any output on the page.
if your include file comes inside the html body and uses either of these functions, you will get the error you posted.