aboutsummaryrefslogtreecommitdiffhomepage
path: root/compat/have_strsep.c
diff options
context:
space:
mode:
Diffstat (limited to 'compat/have_strsep.c')
-rw-r--r--compat/have_strsep.c11
1 files changed, 11 insertions, 0 deletions
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 <string.h>
+
+int main()
+{
+ char *found;
+ char **stringp;
+ const char *delim;
+
+ found = strsep(stringp, delim);
+}