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 <maillist-cryptsetup@xxxxxxxxxxx>
--- cryptsetup-1.6.0.org/lib/utils_devpath.c 2013-01-30 19:45:47.142000003 +0000
+++ cryptsetup-1.6.0/lib/utils_devpath.c 2013-01-30 19:46:23.918000003 +0000
@@ -28,6 +28,7 @@
#include <dirent.h>
#include <fcntl.h>
#include <errno.h>
+#include <limits.h>
#include <sys/stat.h>
#include <sys/types.h>
#include "utils_dm.h"
--- cryptsetup-1.6.0.org/lib/random.c 2013-01-30 19:45:47.143000003 +0000
+++ cryptsetup-1.6.0/lib/random.c 2013-01-30 19:49:16.064000003 +0000
@@ -23,6 +23,7 @@
#include <fcntl.h>
#include <errno.h>
#include <assert.h>
+#include <sys/select.h>
#include "libcryptsetup.h"
#include "internal.h"
_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
http://www.saout.de/mailman/listinfo/dm-crypt