The compactness theorem has a lot of applications to logic and model theory. I'm looking for applications. I'm looking for theorems in other areas of mathematics which seem at first sight to have nothing to do with logic but which allow a fairly simple proof with Compactness. For example, the existence of the algebraic closure can easily be proved in that manner (see JDH's answer in this MO question), and Marker shows in his book on model theory that every injective polynomial map $\Bbb C^n \rightarrow \Bbb C^n$ is surjective.
Do you know any other examples? I would be especially grateful for an application outside of algebra, if there is any.
Yet another version of these 'extension' examples: if a set of figures (polyominos, Wang tiles, etc.) tiles arbitrarily large regions of the plane (or, for instance, if it tiles a quarter-infinite plane) then it tiles the whole plane. This is a straightforward application of Konig's theorem, and compactness is another way of framing the argument; see https://math.stackexchange.com/a/38751/785 for the basic details of this approach.