summaryrefslogtreecommitdiff
path: root/net/httping/patches/patch-ab
blob: f70f7bf606eac85a9bfbfebd9faa1326946323a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ab,v 1.1 2007/09/18 20:30:01 adrianp Exp $

--- str.c.orig	2007-07-26 09:00:31.000000000 +0100
+++ str.c
@@ -18,7 +18,7 @@
 #include "mem.h"
 #include "utils.h"
 
-#ifndef strndup
+#ifndef HAVE_STRNDUP
 char *strndup(char *in, int size)
 {
 	char *out = mymalloc(size + 1, "strndup");