In this note we generalize the Ball-James rigidity theorem for gradient differential inclusions to the setting of a general linear differential constraint. In particular, we prove the rigidity for approximate solutions to the two-state inclusion with incompatible states for merely L1-bounded sequences. In this way, our theorem can be seen as a result of compensated compactness in the linear-growth setting.