X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fstrsep.h;h=eeb0862bc6348922a5c6e73aca431ce77c8d28c4;hb=68126b9700a6cefbfe0f578fa7dbe71829c52e8f;hp=87351ff4a79de6dd530cbfe9c6921fd2e6e1cffa;hpb=68f96cd3ccba2a204c40260321a8832f2eb97092;p=gnulib.git diff --git a/lib/strsep.h b/lib/strsep.h index 87351ff4a..eeb0862bc 100644 --- a/lib/strsep.h +++ b/lib/strsep.h @@ -20,11 +20,15 @@ #ifndef GNULIB_STRSEP_H_ #define GNULIB_STRSEP_H_ +#if HAVE_STRSEP + /* - * Get strsep, if available. + * Get strsep() declaration. */ #include +#else + /* Searches the next delimiter (char listed in DELIM) starting at *STRINGP. If one is found, it is overwritten with a NUL, and *STRINGP is advanced to point to the next char after it. Otherwise, *STRINGP is set to NULL. @@ -40,4 +44,6 @@ extern char *strsep (char **stringp, const char *delim); +#endif + #endif /* GNULIB_STRSEP_H_ */