$NetBSD: patch-ab,v 1.1 2007/01/22 14:33:31 rillig Exp $

--- git-compat-util.h.orig	2006-07-02 08:23:24.000000000 +0200
+++ git-compat-util.h	2006-09-16 14:44:18.951236060 +0200
@@ -4,6 +4,8 @@
 #ifndef FLEX_ARRAY
 #if defined(__GNUC__) && (__GNUC__ < 3)
 #define FLEX_ARRAY 0
+#elif defined(__SUNPRO_C)
+#define FLEX_ARRAY 1
 #else
 #define FLEX_ARRAY /* empty */
 #endif
