]> granicus.if.org Git - handbrake/commitdiff
compat: fix compiler warning in strerror_r
authorJohn Stebbins <jstebbins.hb@gmail.com>
Wed, 17 Apr 2019 13:30:30 +0000 (07:30 -0600)
committerJohn Stebbins <jstebbins.hb@gmail.com>
Wed, 17 Apr 2019 13:30:30 +0000 (07:30 -0600)
implicit delcaration of snprintf

libhb/compat.c

index 6d0bdddf05462f18da61bbbfb7e657ac9a827ab9..67a5dba7eb6adbdef76ce374d69846759156aa47 100644 (file)
@@ -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