We have that $\lim_{x\rightarrow +\infty}f'(x)$ exists and let $M$ be this limit, where $M\in \mathbb{R}\cup \{\pm \infty\}$.
Then we have the following:
$$\lim_{u\rightarrow +\infty}\min_{u\in [x,x+1)}f'(u)\leq \lim_{x\rightarrow +\infty}\int_x^{x+1} f'(x)dx \leq \lim_{u\rightarrow +\infty}\max_{u\in [x,x+1)}f'(u)$$
It holds that since $\lim_{x\rightarrow +\infty}f'(x)=M$ then $\lim_{x\rightarrow +\infty}\min_{u\in [x,x+1)}f'(u)=\lim_{x\rightarrow +\infty}\max_{u\in [x,x+1)}f'(u)=M$.
So we get from the above inequality $M\leq L\leq M$ and it must be $L=M$.