Fix up blerglatest
[blerg.git] / tools / blergtool.c
index 968081a..eee8aef 100644 (file)
@@ -3,7 +3,9 @@
  */
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include "database.h"
+#include "subscription.h"
 #include "tags.h"
 
 void help() {
@@ -79,7 +81,7 @@ int main(int argc, char *argv[]) {
                } else {
                        int i;
                        for (i = 0; i < count; i++) {
-                               printf("%s %d\n", list[i].author, list[i].record);
+                               printf("%s %llu\n", list[i].author, list[i].record);
                        }
                        free(list);
                }