Lusin Theorem (as stated by Rudin):
Let $X$ be a locally compact Hausdorff space and let $μ$ be a regular Borel measure on $X$ such that $μ(K)<∞$ for every compact $K⊆X$. Suppose $f$ is a complex measurable function on $X$, $μ(A)<∞$, $f(x)=0$ if $x∈X \setminus A$, and $ϵ>0$. Then there exists a continuous complex function $g$ on $X$ with compact support such that
$μ(x:f(x)≠g(x))<ϵ$.
But I can't seem to find in the proof anywhere a use of the fact that the measure is finite for compact sets. Is the condition nessecary? Is there a counter-example?