add include limits, for compilers that dont add it implicitly

Your PR, with the include line moved down to the point where @alalek wants it.