From 1f97cf90f30a6184486cee8877494eb828a34da4 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Sat, 6 Nov 2010 12:42:09 -0400 Subject: [PATCH] Fix building with Linux 2.6.37 uses uint64_t without including it itself. Arguably a kernel bug, but it costs us nothing to defend against it. --- src/device.c | 1 + src/helpers/job-drive-benchmark.c | 1 + src/helpers/job-shared.h | 1 + src/helpers/partutil.c | 1 + 4 files changed, 4 insertions(+) diff --git a/src/device.c b/src/device.c index 91c6cd1..c4a83ff 100644 --- a/src/device.c +++ b/src/device.c @@ -36,6 +36,7 @@ #include #include #include +#include #include #include #include diff --git a/src/helpers/job-drive-benchmark.c b/src/helpers/job-drive-benchmark.c index b0fbf13..1181c65 100644 --- a/src/helpers/job-drive-benchmark.c +++ b/src/helpers/job-drive-benchmark.c @@ -28,6 +28,7 @@ #include #include #include +#include #include #include #include diff --git a/src/helpers/job-shared.h b/src/helpers/job-shared.h index cf78474..4649b45 100644 --- a/src/helpers/job-shared.h +++ b/src/helpers/job-shared.h @@ -30,6 +30,7 @@ #include #include #include +#include #include #include diff --git a/src/helpers/partutil.c b/src/helpers/partutil.c index ecec84c..3bd64b8 100644 --- a/src/helpers/partutil.c +++ b/src/helpers/partutil.c @@ -34,6 +34,7 @@ #include #include #include +#include #include #include -- 2.7.4