commit:a4fca9b6cbc780b602b86ccc5819dc0ee99d5771
author:Chip Black
committer:Chip Black
date:Sat Mar 22 17:16:12 2014 -0500
parents:92532488cf742c6501a3a7b258a18017465f5904
Some missing includes and a format error in blergtool
diff --git a/tools/blergtool.c b/tools/blergtool.c
line changes: +3/-1
index 968081a..eee8aef
--- a/tools/blergtool.c
+++ b/tools/blergtool.c
@@ -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);
 		}