added portability to non-BSD systems

This commit is contained in:
elvis
2022-04-11 18:38:04 +02:00
parent da270caea1
commit 31fda57145
5 changed files with 59 additions and 2 deletions

10
lib/utils/strsep_gnu.h Normal file
View File

@ -0,0 +1,10 @@
#pragma once
#ifndef _STRSEP_GNU
#define _STRSEP_GNU
#include <strings.h>
extern char *strsep_gnu (char **__restrict __stringp,
const char *__restrict __delim);
#endif /* _STRSEP_GNU */