--- str.c.orig	2010-07-24 05:32:07.000000000 -0500
+++ str.c	2011-07-28 16:37:06.000000000 -0500
@@ -18,11 +18,8 @@
 #include "mem.h"
 #include "utils.h"
 
-/*
-Most unixes have this function already.
-
 #ifndef _GNU_SOURCE
-char *strndup(char *in, int size)
+char *strndup(const char *in, size_t size)
 {
 	char *out = mymalloc(size + 1, "strndup");
 
@@ -32,4 +29,3 @@
 	return out;
 }
 #endif
-*/
--- str.h.orig	2010-07-24 05:32:07.000000000 -0500
+++ str.h	2011-07-28 16:37:05.000000000 -0500
@@ -15,8 +15,6 @@
 
 #include <string.h>
 
-/*
 #ifndef _GNU_SOURCE
-char *strndup(char *in, int size);
+char *strndup(const char *in, size_t size);
 #endif
-*/
