summaryrefslogtreecommitdiff
path: root/include/bsd
diff options
context:
space:
mode:
Diffstat (limited to 'include/bsd')
-rw-r--r--include/bsd/stdlib.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/bsd/stdlib.h b/include/bsd/stdlib.h
index 3e1fe83..453c33d 100644
--- a/include/bsd/stdlib.h
+++ b/include/bsd/stdlib.h
@@ -31,9 +31,15 @@
#include <sys/cdefs.h>
#include <sys/stat.h>
+#include <stdint.h>
#include <stdlib.h>
+/* For compatibility with NetBSD, which defines humanize_number here. */
+#include <libutil.h>
+
__BEGIN_DECLS
+int dehumanize_number(const char *str, int64_t *size);
+
const char *fmtcheck (const char *, const char *);
char *getprogname ();