]> git.ozlabs.org Git - ccan/blobdiff - ccan/grab_file/_info.c
Fix for 64-bit (thanks to Tim T)
[ccan] / ccan / grab_file / _info.c
index 4aac31aebbd7b343b3e48527bcd5a4baf459b247..f5d22bbce55494a959adf57b5c05d71457d9469c 100644 (file)
@@ -8,10 +8,11 @@
  * This contains simple functions for getting the contents of a file.
  *
  * Example:
- *     #include "grab_file/grab_file.h"
  *     #include <err.h>
  *     #include <stdio.h>
  *     #include <string.h>
+ *     #include <ccan/grab_file/grab_file.h>
+ *     #include <ccan/talloc/talloc.h> // For talloc_free()
  *
  *     int main(int argc, char *argv[])
  *     {
@@ -42,6 +43,7 @@ int main(int argc, char *argv[])
                return 1;
 
        if (strcmp(argv[1], "depends") == 0) {
+               printf("ccan/str_talloc\n"); /* Needed for tests. */
                printf("ccan/talloc\n");
                printf("ccan/noerr\n");
                return 0;