$NetBSD: patch-src_gamma-drm.c,v 1.1 2016/05/18 22:18:43 snj Exp $ No alloca.h on non-Linux/non-SunOS systems. --- src/gamma-drm.c.orig 2015-05-20 00:07:57.000000000 -0700 +++ src/gamma-drm.c 2015-05-20 00:08:01.000000000 -0700 @@ -21,7 +21,9 @@ #include #include #include +#if defined(__linux__) || defined(__sun) #include +#endif #include #include #include