libuuid: add limits.h include for OPEN_MAX
PATCH 1/1 libuuid: add limits.h include for OPEN_MAX
Needed as definition for usage in close_all_fds(). Noticed on klibc build.
Signed-off-by maximilian attems <[email protected]>
--- libuuid/src/gen_uuid.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
libuuid/src/gen_uuid.c +1 -0
@@ -53,6 +53,7 @@#include <string.h> #include <fcntl.h> #include <errno.h> +#include <limits.h> #include <sys/types.h> #ifdef HAVE_SYS_TIME_H #include <sys/time.h>
Signature · 1 line
1.7.5.4
Quoted 2 lines · maximilian attems
libuuid/src/gen_uuid.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
Applied, thanks.
Karel
Signature · 2 lines
Karel Zak <[email protected]> http://karelzak.blogspot.com