Let $f(x) = \sin(x)/x$. Consider the following:
$$\int_{\mathbb{R}} f(x)dx = \lim_{n\to\infty} \int_{\mathbb{R}} f(x)\chi_{[-n,n]}dx$$
so that each $\int_{\mathbb{R}} f(x)\chi_{[-n,n]}dx$ is Riemann integrable and so it is Lebesgue integrable (integrating over compact space). Since $\int_{\mathbb{R}} f(x)\chi_{[-n,n]}dx \to \int_{\mathbb{R}} f(x)dx$ and so by completeness of $L^1(\mathbb{R})$, we have that $f\in L^1(\mathbb{R})$ so in particular, $\int_{\mathbb{R}} f(x)dx < \infty$ in the Lebesgue integral sense.
I know I have made a mistake here somewhere but I am having trouble seeing exactly where. Any help is appreciated.