summaryrefslogtreecommitdiffstats
path: root/libhb/ports.h
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2019-01-07 12:34:29 -0700
committerJohn Stebbins <[email protected]>2019-01-14 13:36:08 -0800
commitef6777ea094ed5a2f830136e1ec7b4220d421f97 (patch)
treeff3a3d08b9379e8327bbb85b638009355e6feef6 /libhb/ports.h
parent5154729becab0465462027d93d9293fb3ddca49c (diff)
ssautil: fix strndup on mingw
Diffstat (limited to 'libhb/ports.h')
-rw-r--r--libhb/ports.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libhb/ports.h b/libhb/ports.h
index f6c89b37d..6a6c3c755 100644
--- a/libhb/ports.h
+++ b/libhb/ports.h
@@ -84,6 +84,11 @@ FILE * hb_fopen(const char *path, const char *mode);
char * hb_strr_dir_sep(const char *path);
/************************************************************************
+ * String utils
+ ***********************************************************************/
+char * hb_strndup(const char * src, size_t len);
+
+/************************************************************************
* File utils
***********************************************************************/
char * hb_get_temporary_directory(void);