Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 20 lines (16 sloc) 0.502 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
$NetBSD: patch-ah,v 1.2 2010/07/24 13:42:12 obache Exp $

--- avahi-common/strlst.c.orig 2010-06-26 00:14:35.000000000 +0000
+++ avahi-common/strlst.c
@@ -31,6 +31,14 @@
 #include "malloc.h"
 #include "defs.h"
 
+#ifndef va_copy
+#ifdef __va_copy
+#define va_copy(DEST,SRC) __va_copy((DEST),(SRC))
+#else
+#define va_copy(DEST,SRC) memcpy(&(DEST), &(SRC), sizeof(va_list))
+#endif
+#endif
+
 AvahiStringList*avahi_string_list_add_anonymous(AvahiStringList *l, size_t size) {
     AvahiStringList *n;
 
Something went wrong with that request. Please try again.