]> git.ozlabs.org Git - ccan/blobdiff - ccan/cpuid/_info
base64: fix for unsigned chars (e.g. ARM).
[ccan] / ccan / cpuid / _info
index 569dc21cd2885061fc7ef46369068db4889c73e1..5699a2cc8173d6eaf82b2f0de18cd7a5f6c1eb66 100644 (file)
@@ -1,3 +1,7 @@
+#include "config.h"
+#include <stdio.h>
+#include <string.h>
+
 #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;
  * }