Have you already made an offer on the house? If not, then be sure your offer is low enough to compensate you for any repairs that may be necessary, as well as your time. Did the owner provide you with disclosures as to the condition of the house? If so, then they are saying, 'here are the problems, we are not going to fix them, adjust your offer price accordingly." I would be sure to have the house evaluated by a structural expert to be sure the cracks do not indicate a problem with the foundation and I would make my offer subject to that evaluation so I could back out if the problems are too costly or impossible to fix.
I do hope you are working with a real estate professional to help you in the purchase of this home. You should be. An agent should be able to guide you and to provide you with references to the other professionals you will need, including a home inspector and a structural expert.