]> git.ozlabs.org Git - ccan/blobdiff - ccan/alloc/_info
alloc: avoid arithmetic on void pointers.
[ccan] / ccan / alloc / _info
index 68e40b6d4346db3c10bc4cb4b57b2ec03bcfa559..6b0fef928a67f8066c42a06c812b5beda14535dd 100644 (file)
@@ -23,6 +23,7 @@
  *     #include <sys/stat.h>
  *     #include <fcntl.h>
  *     #include <string.h>
+ *     #include <stdlib.h>
  *     #include <ccan/alloc/alloc.h>
  *
  *     static void usage(const char *name)
@@ -104,6 +105,7 @@ int main(int argc, char *argv[])
                printf("ccan/alignof\n");
                printf("ccan/build_assert\n");
                printf("ccan/compiler\n");
+               printf("ccan/ilog\n");
                printf("ccan/likely\n");
                printf("ccan/short_types\n");
                return 0;