X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fcpuid%2F_info;h=5699a2cc8173d6eaf82b2f0de18cd7a5f6c1eb66;hb=319dadd4fa7af3f75b15bcb4f33b33f65d87a523;hp=569dc21cd2885061fc7ef46369068db4889c73e1;hpb=a87884aabba198a1d44e22f89c5477f1b8167ffd;p=ccan diff --git a/ccan/cpuid/_info b/ccan/cpuid/_info index 569dc21c..5699a2cc 100644 --- a/ccan/cpuid/_info +++ b/ccan/cpuid/_info @@ -1,3 +1,7 @@ +#include "config.h" +#include +#include + #include "cpuid.h" /** @@ -13,8 +17,8 @@ * int main(void) * { * uint32_t highest; - * cpuid(CPU_HIGHEST_EXTENDED_FUNCTION_SUPPORTED, &highest); - * printf ("Highest extended function supported: %d\n", highest); + * cpuid(CPUID_HIGHEST_EXTENDED_FUNCTION_SUPPORTED, &highest); + * printf("Highest extended function supported: %d\n", highest); * * return 0; * }