summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2019-04-17 07:30:30 -0600
committerJohn Stebbins <[email protected]>2019-04-17 07:30:30 -0600
commit91a2a7afda4de02cb0dcd24e015a052a48f8ed43 (patch)
tree00a548da4091814df34abfacf2942b056d14efa5 /libhb
parent046eb043aeebc31b922f632422b88107e840fd0b (diff)
compat: fix compiler warning in strerror_r
implicit delcaration of snprintf
Diffstat (limited to 'libhb')
-rw-r--r--libhb/compat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libhb/compat.c b/libhb/compat.c
index 6d0bdddf0..67a5dba7e 100644
--- a/libhb/compat.c
+++ b/libhb/compat.c
@@ -46,6 +46,7 @@ char *strtok_r(char *s, const char *delim, char **save_ptr)
#include <sys/types.h>
#include <errno.h>
#include <string.h>
+#include <stdio.h>
#define ERRSTR_LEN 20