From 702bfe650784facd7d851fbf63bb9beba63ca94e Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Thu, 31 Jan 2008 16:55:12 +0000 Subject: [PATCH] The devstat(3) manpage claims that only is needed as a prerequisite for using this interface. However, the 'statinfo' struct actually references CPUSTATES from , so in fact it requires to compile. Use a nested include of to make the code match the docs. Reported by: Pietro Cerutti gahr | gahr.ch --- lib/libdevstat/devstat.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/libdevstat/devstat.h b/lib/libdevstat/devstat.h index 61b8ccbe9777..7717cb1b5ec8 100644 --- a/lib/libdevstat/devstat.h +++ b/lib/libdevstat/devstat.h @@ -32,6 +32,7 @@ #define _DEVSTAT_H #include #include +#include #include