From: John Spencer Date: Fri, 1 Feb 2013 07:36:36 +0000 (+0100) Subject: Fix missing headers X-Git-Tag: upstream/1.6~46 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fupstream%2Fcryptsetup.git;a=commitdiff_plain;h=433758e4cbcffef5557692134afec35a9acd0e6a 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 --- 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"