$NetBSD: patch-aj,v 1.2 2009/01/04 15:16:11 adrianp Exp $

--- libdnet-stripped/include/dnet/os.h.orig	2008-08-29 21:23:56.000000000 +0100
+++ libdnet-stripped/include/dnet/os.h
@@ -115,7 +115,7 @@
 # ifdef __GNUC__
 #  define __flexarr	[0]
 # else
-#  if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
+#  if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L && !defined(__SUNPRO_C)
 #   define __flexarr	[]
 #  elif defined(_WIN32)
 /* MS VC++ */
