Skip to contentSkip to conversation

libuuid: add limits.h include for OPEN_MAX

PATCH Applied maximilian attems 2 participants 2 messages Sep 6, 2011 – Sep 7, 2011 Util-Linux package

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libuuid: add limits.h include for OPEN_MAX

Needed as definition for usage in close_all_fds(). Noticed on klibc build.

---
 libuuid/src/gen_uuid.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
libuuid/src/gen_uuid.c +1 -0
index f4c8997..492bb75 100644
@@ -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
maintainer Applied
#1 lore raw
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