perf tests x86 rdpmc: Add missing headers
tip-bot for Arnaldo Carvalho de Melo
merge botCommit-ID: 10ca87fde70d9e7b25e576c491823915c80fa9f6 Gitweb: http://git.kernel.org/tip/10ca87fde70d9e7b25e576c491823915c80fa9f6 Author: Arnaldo Carvalho de Melo <[email protected]> AuthorDate: Thu, 7 Jul 2016 11:35:50 -0300 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitDate: Tue, 12 Jul 2016 15:19:57 -0300
perf tests x86 rdpmc: Add missing headers
Another case of a file using definitions and getting them by chance, from indirect header inclusion, fix it.
Cc Adrian Hunter <[email protected]>
Cc David Ahern <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Wang Nan <[email protected]>
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
--- tools/perf/arch/x86/tests/rdpmc.c | 4 ++++ 1 file changed, 4 insertions(+)
tools/perf/arch/x86/tests/rdpmc.c +4 -0
@@ -1,12 +1,16 @@ +#include <errno.h> #include <unistd.h> #include <stdlib.h> #include <signal.h> #include <sys/mman.h> +#include <sys/types.h> +#include <sys/wait.h> #include <linux/types.h> #include "perf.h" #include "debug.h" #include "tests/tests.h" #include "cloexec.h" +#include "util.h" #include "arch-tests.h" static u64 rdpmc (unsigned int counter)