diff options
Diffstat (limited to 'src/core/strs.h')
| -rw-r--r-- | src/core/strs.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/core/strs.h b/src/core/strs.h index 697b4763..8321054c 100644 --- a/src/core/strs.h +++ b/src/core/strs.h @@ -1,5 +1,5 @@ // -// Copyright 2020 Staysail Systems, Inc. <info@staysail.tech> +// Copyright 2025 Staysail Systems, Inc. <info@staysail.tech> // Copyright 2017 Capitar IT Group BV <info@capitar.com> // // This software is supplied under the terms of the MIT License, a @@ -13,11 +13,13 @@ // Safe string functions, in case the platform misses these. -extern char * nni_strdup(const char *); +#include "defs.h" + +extern char *nni_strdup(const char *); extern void nni_strfree(char *); extern size_t nni_strlcpy(char *, const char *, size_t); extern size_t nni_strnlen(const char *, size_t); -extern char * nni_strcasestr(const char *, const char *); +extern char *nni_strcasestr(const char *, const char *); extern int nni_strncasecmp(const char *, const char *, size_t); extern int nni_strcasecmp(const char *, const char *); extern int nni_asprintf(char **, const char *, ...); |
