For any $\epsilon>0$ there exists a function $g$, such that $g$ is uniformly continuous and $|f(x)-g(x)|<\epsilon$. Show that $f$ is uniformly continuous.
I know that I will have to use the definition of a function being uniformly continuous for the function $g$. $|x-x_0| < \delta$ implying $|g(x)-g(x_0)|<\epsilon$.
Under appropriate conditions, you know that $f(x)-g(x)$ is small, $f(y)-g(y)$ is small (just a change of variable) and you know that $g(x)-g(y)$ is small for close $x,y$. Now, try to use the triangle inequality to see that $f(x)-f(y)=f(x)-g(x)+g(x)-g(y)+g(y)-f(y)$ is small.