That really resembles RR car construction in several respects, especially if you mentally erase the peaked roof. The width seems right for a RR car, maybe passenger or caboose. Those types usually have larger end-wall headers to bridge across the end doors. Another clue I see is the overlap joint at the corner of the end wall "header" to the longitudinal "top plate" of the wall. The peaked roof seems as though it was a poor-quality addition to the basic box frame of the car/building. Note that the better wood materials (probably oak) used for the wall frame (another RR car trait) is relatively solid, compared to the rotted peaked roof.
Bob of AZ