From d8dba28f83bd01c690a374d416e494a87c0e5f88 Mon Sep 17 00:00:00 2001 From: jhb Date: Thu, 31 Jan 2008 16:55:12 +0000 Subject: 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(+) (limited to 'lib/libdevstat') diff --git a/lib/libdevstat/devstat.h b/lib/libdevstat/devstat.h index 61b8ccb..7717cb1 100644 --- a/lib/libdevstat/devstat.h +++ b/lib/libdevstat/devstat.h @@ -32,6 +32,7 @@ #define _DEVSTAT_H #include #include +#include #include -- cgit v1.1