--- natsort.c.orig	2009-10-02 14:44:56.000000000 -0500
+++ natsort.c	2013-01-31 04:59:06.000000000 -0600
@@ -40,7 +40,7 @@
 #endif
 
 static int fold_case = 0, verbose = 0, reverse = 0;
-size_t getline(char **lineptr, int *n, FILE *stream);
+size_t redundant_getline(char **lineptr, int *n, FILE *stream);
 
 static void trace_result(char const *a, char const *b, int ret)
 {
@@ -135,7 +135,7 @@
      while (1) {
 	  line = NULL;
 	  bufsize = 0;
-	  if ((linelen = getline(&line, &bufsize, stdin)) <= 0)
+	  if ((linelen = redundant_getline(&line, &bufsize, stdin)) <= 0)
 	       break;
 	  if (line[linelen-1] == '\n')
 	       line[--linelen] = 0;
@@ -170,7 +170,7 @@
 }
 
 /* This code is public domain -- Will Hartung 4/9/09 */
-size_t getline(char **lineptr, int *n, FILE *stream) {
+size_t redundant_getline(char **lineptr, int *n, FILE *stream) {
     char *bufptr = NULL;
     char *p = bufptr;
     size_t size;
