$OpenBSD: patch-src_ip_options_c,v 1.1 2010/08/02 11:20:28 sebastia Exp $ Fix build on gcc-2.95 archs. --- src/ip_options.c.orig Mon Aug 2 09:23:35 2010 +++ src/ip_options.c Mon Aug 2 09:23:56 2010 @@ -69,7 +69,11 @@ struct options { unsigned char __pad1; unsigned char __pad2; unsigned char __pad3; +#if (defined(__GNUC__) && __GNUC__ >= 3) unsigned char __data[]; +#else + unsigned char __data[0]; +#endif }; struct iphdr {