From: Ulrich Drepper Date: Tue, 9 Jun 1998 13:26:02 +0000 (+0000) Subject: (struct ip_options): Define __data member only for gcc. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65237b3d8715279c086661980d97a002baf4762c;p=thirdparty%2Fglibc.git (struct ip_options): Define __data member only for gcc. --- diff --git a/sysdeps/unix/sysv/linux/netinet/ip.h b/sysdeps/unix/sysv/linux/netinet/ip.h index 6d50bb41d1e..fc7e74db82f 100644 --- a/sysdeps/unix/sysv/linux/netinet/ip.h +++ b/sysdeps/unix/sysv/linux/netinet/ip.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 92, 93, 95, 96, 97 Free Software Foundation, Inc. +/* Copyright (C) 1991, 92, 93, 95, 96, 97, 98 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -60,7 +60,9 @@ struct ip_options u_int8_t router_alert; u_int8_t __pad1; u_int8_t __pad2; +#ifdef __GNUC__ u_int8_t __data[0]; +#endif }; struct iphdr