tally: fix FreeBSD compile, memleak in tests.
[ccan] / ccan / tally / tally.h
index e7157175075cb556d2ff7cd5c74d07b95ee3fd3d..650e2656cd888b7c624455550b573b93f035fb52 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef CCAN_TALLY_H
 #define CCAN_TALLY_H
-#include <stdlib.h>
+#include "config.h"
+#include <sys/types.h>
 
 struct tally;