utils: Add missing include on limits.h

This happens to not be an issue with glibc because it gets indirectly
included via dirent.h:

.. /usr/include/dirent.h
[...]
..... /usr/include/linux/limits.h

When using the musl libc implementation, that is not the case anymore
and the build fails.

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
This commit is contained in:
Andrei Gherzan 2022-07-13 12:05:07 +02:00
parent acbeef1bdf
commit cb91bc9930
No known key found for this signature in database
GPG Key ID: 73BBE86B7E7AB7CF

View File

@ -25,6 +25,7 @@
# include <config.h> # include <config.h>
# include <dirent.h> # include <dirent.h>
# include <fcntl.h> # include <fcntl.h>
# include <limits.h>
# include <stdio.h> # include <stdio.h>
# include <stdlib.h> # include <stdlib.h>
# include <sys/types.h> # include <sys/types.h>