pkgsrc-wip/pkg_select/patches/patch-aa

15 lines
346 B
Text

$NetBSD: patch-aa,v 1.1 2006/03/13 00:40:00 minskim Exp $
--- pkg_select.h.orig 2005-03-09 03:30:07.000000000 -0800
+++ pkg_select.h
@@ -45,6 +45,10 @@
#include "texts.h"
#include "live.h"
+#ifndef SLIST_HEAD_INITIALIZER
+#define SLIST_HEAD_INITIALIZER(head) { NULL }
+#endif
+
#define IN_PKGSRC 1
#define IN_PKGDB 0
#define IN_DEPENDS 2