From 4595ada2f69b42670c85a63c7d2344af63f2afe7 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Sun, 29 Dec 2019 01:35:09 -0500 Subject: Minor fixes: * size_t in place of int * Moved some variables closer to their execution scope * Add some error checks --- src/compat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/compat.c') diff --git a/src/compat.c b/src/compat.c index 082a602..062c939 100644 --- a/src/compat.c +++ b/src/compat.c @@ -1,7 +1,7 @@ -#include #include "config.h" #ifndef HAVE_STRSEP +#include // credit: Dan Cross via https://unixpapa.com/incnote/string.html char *strsep(char **sp, char *sep) { -- cgit