Another off-by-one found by valgrind.
[monky] / src / freebsd.h
index 8835c0c..063b131 100644 (file)
@@ -1,7 +1,10 @@
+/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- */
+
 #ifndef FREEBSD_H_
 #define FREEBSD_H_
 
 #include "common.h"
+#include <sys/param.h>
 #include <sys/mount.h>
 #include <sys/ucred.h>
 #include <fcntl.h>
@@ -12,4 +15,7 @@
 
 kvm_t *kd;
 
+int get_entropy_avail(unsigned int *);
+int get_entropy_poolsize(unsigned int *);
+
 #endif /*FREEBSD_H_*/