projects
/
handbrake
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
046eb04
)
compat: fix compiler warning in strerror_r
author
John Stebbins
<jstebbins.hb@gmail.com>
Wed, 17 Apr 2019 13:30:30 +0000
(07:30 -0600)
committer
John Stebbins
<jstebbins.hb@gmail.com>
Wed, 17 Apr 2019 13:30:30 +0000
(07:30 -0600)
implicit delcaration of snprintf
libhb/compat.c
patch
|
blob
|
history
diff --git
a/libhb/compat.c
b/libhb/compat.c
index 6d0bdddf05462f18da61bbbfb7e657ac9a827ab9..67a5dba7eb6adbdef76ce374d69846759156aa47 100644
(file)
--- 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