diff options
Diffstat (limited to 'src/libstddjb/env_addmodif.c')
-rw-r--r-- | src/libstddjb/env_addmodif.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstddjb/env_addmodif.c b/src/libstddjb/env_addmodif.c index 4c34479..ddd1be3 100644 --- a/src/libstddjb/env_addmodif.c +++ b/src/libstddjb/env_addmodif.c @@ -1,11 +1,12 @@ /* ISC license. */ +#include <sys/types.h> #include <skalibs/stralloc.h> #include <skalibs/env.h> int env_addmodif (stralloc *sa, char const *s, char const *t) { - unsigned int oldlen = sa->len ; + size_t oldlen = sa->len ; if (!s) return 1 ; if (!stralloc_cats(sa, s)) return 0 ; if ((t && (!stralloc_catb(sa, "=", 1) || !stralloc_cats(sa, t))) |