Commit graph

1 commit

Author SHA1 Message Date
Josh Boyer
49decd0917 Add patch to fix 32-bit turbostat build with older glibc-headers
glibc-2.15 32-bit sigcontext.h pulls in asm/sigcontext.h.  Because turbostat
is using -I to point to the kernel source UAPI dir, we get an error about
linux/compiler.h not being found.  That's true, because the kernel doesn't
export linux/compiler.h and it's stripped out of the uapi sigcontext.h file
when we export it.  But that doesn't help us when turbostat is being stupid
and pointing at the pre-stripped UAPI headers.  Just what.

So just point it to the top level kernel include directory after it's already
searched everything else.
2013-03-08 15:50:20 -05:00