]> git.ozlabs.org Git - ccan/blobdiff - ccan/alloc/_info
alloc: fix missing header in compilation of example.
[ccan] / ccan / alloc / _info
index 9b00284f9e878c387c637e0bd4ea6d2092a9329e..6b0fef928a67f8066c42a06c812b5beda14535dd 100644 (file)
@@ -23,6 +23,7 @@
  *     #include <sys/stat.h>
  *     #include <fcntl.h>
  *     #include <string.h>
  *     #include <sys/stat.h>
  *     #include <fcntl.h>
  *     #include <string.h>
+ *     #include <stdlib.h>
  *     #include <ccan/alloc/alloc.h>
  *
  *     static void usage(const char *name)
  *     #include <ccan/alloc/alloc.h>
  *
  *     static void usage(const char *name)
@@ -92,7 +93,8 @@
  *             return 0;
  *     }
  *
  *             return 0;
  *     }
  *
- * Licence: LGPL (2 or any later version)
+ * License: LGPL (2 or any later version)
+ * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
 int main(int argc, char *argv[])
 {
  */
 int main(int argc, char *argv[])
 {
@@ -100,7 +102,12 @@ int main(int argc, char *argv[])
                return 1;
 
        if (strcmp(argv[1], "depends") == 0) {
                return 1;
 
        if (strcmp(argv[1], "depends") == 0) {
+               printf("ccan/alignof\n");
                printf("ccan/build_assert\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;
        }
 
                return 0;
        }