]> git.ozlabs.org Git - ccan/blobdiff - ccan/tal/str/_info
ccan: Correct some poor conventions in _info includes
[ccan] / ccan / tal / str / _info
index f95fc10eb8d35426ab7ebb384759413a01340544..6fd94dc5654093d3dc909f7175791784f70b9fd4 100644 (file)
@@ -1,6 +1,6 @@
+#include "config.h"
 #include <stdio.h>
 #include <string.h>
 #include <stdio.h>
 #include <string.h>
-#include "config.h"
 
 /**
  * tal/str - string helper routines which use tal
 
 /**
  * tal/str - string helper routines which use tal
@@ -44,7 +44,11 @@ int main(int argc, char *argv[])
 
        if (strcmp(argv[1], "depends") == 0) {
                printf("ccan/str\n");
 
        if (strcmp(argv[1], "depends") == 0) {
                printf("ccan/str\n");
+#ifdef TAL_USE_TALLOC
+               printf("ccan/tal/talloc\n");
+#else
                printf("ccan/tal\n");
                printf("ccan/tal\n");
+#endif
                printf("ccan/take\n");
                return 0;
        }
                printf("ccan/take\n");
                return 0;
        }