The theorem is
Let $X$ be a locally convex topological vector space, and let $K ⊂ X$ be a non-empty, compact, and convex set. Then given any continuous mapping $f: K → K$ there exists $x ∈ K$ such that $f(x) = x$.
Suppose $X$ is a Banach space. When it says $K \subset X$ must be compact, is this the same as saying $K \subset X$ must be a compact embedding, i.e., for any bounded sequence in $K$, the sequence must have a subsequence which converges in $X$?