From 64b150213365db6be97a98d25884f87d83caacaf Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 8 Jan 2010 02:48:03 -0500 Subject: getline: split out for darwin systems At least on OS X 10.5 and older, getline does not exist. So split out the function from the mingw code so that we can pull it in for Darwin systems. Signed-off-by: Mike Frysinger --- tools/getline.h | 1 + 1 file changed, 1 insertion(+) create mode 100644 tools/getline.h (limited to 'tools/getline.h') diff --git a/tools/getline.h b/tools/getline.h new file mode 100644 index 0000000000..a2f35b92b2 --- /dev/null +++ b/tools/getline.h @@ -0,0 +1 @@ +int getline(char **lineptr, size_t *n, FILE *stream); -- cgit v1.2.1