From 433758e4cbcffef5557692134afec35a9acd0e6a Mon Sep 17 00:00:00 2001 From: John Spencer Date: Fri, 1 Feb 2013 08:36:36 +0100 Subject: [PATCH] Fix missing headers 2 header inclusions were missing, one for PATH_MAX (limits.h) and one for FD_ZERO, FD_SET, ... (sys/select.h) on glibc, those headers are erroneusly (namespace pollution) pulled in through other headers, so the author didnt notice. Signed-Off-By: John Spencer --- lib/random.c | 1 + lib/utils_devpath.c | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/random.c b/lib/random.c index 0664e97..25c8a2c 100644 --- a/lib/random.c +++ b/lib/random.c @@ -23,6 +23,7 @@ #include #include #include +#include #include "libcryptsetup.h" #include "internal.h" diff --git a/lib/utils_devpath.c b/lib/utils_devpath.c index 7e872ad..fc5175c 100644 --- a/lib/utils_devpath.c +++ b/lib/utils_devpath.c @@ -28,6 +28,7 @@ #include #include #include +#include #include #include #include "utils_dm.h" -- 2.7.4