From c11ebe8974309a441ae49ae8116eccb17c61fa5f Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Sat, 11 Apr 2020 00:28:05 -0400 Subject: Include protoypes for compat implementations --- include/compat.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 include/compat.h (limited to 'include/compat.h') diff --git a/include/compat.h b/include/compat.h new file mode 100644 index 0000000..b116f2c --- /dev/null +++ b/include/compat.h @@ -0,0 +1,14 @@ +#ifndef SPM_COMPAT_H +#define SPM_COMPAT_H + +#include "config.h" + +#ifndef HAVE_STRSEP +char *strsep(char **sp, char *sep); +#endif + +#ifndef HAVE_REALLOC_ARRAY +void *reallocarray (void *__ptr, size_t __nmemb, size_t __size); +#endif + +#endif //SPM_COMPAT_H -- cgit