X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=compat%2Fhave_strsep.c;fp=compat%2Fhave_strsep.c;h=2abab819b01a483e8f1738995b5aa163f3eca7fb;hp=0000000000000000000000000000000000000000;hb=43843745dcbf31e96f447410e335a8d2aa21b00d;hpb=49a0b96486242ca4fc4d26e5b01a34e9df7a9f9f diff --git a/compat/have_strsep.c b/compat/have_strsep.c new file mode 100644 index 00000000..2abab819 --- /dev/null +++ b/compat/have_strsep.c @@ -0,0 +1,11 @@ +#define _GNU_SOURCE +#include + +int main() +{ + char *found; + char **stringp; + const char *delim; + + found = strsep(stringp, delim); +}