2021-09-09 10:08:30 -03:00
|
|
|
#ifndef UTILS_HPP
|
|
|
|
|
#define UTILS_HPP
|
|
|
|
|
|
2021-09-10 11:32:51 -03:00
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
2021-09-09 10:08:30 -03:00
|
|
|
|
|
|
|
|
#if !defined(HAVE_STRNDUP)
|
|
|
|
|
char *strndup(const char *s, size_t n);
|
|
|
|
|
#endif /* ! HAVE_STRNDUP */
|
|
|
|
|
|
2021-09-10 11:32:51 -03:00
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
2021-09-09 10:08:30 -03:00
|
|
|
#endif //UTILS_HPP
|