]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(struct ip_options): Define __data member only for gcc.
authorUlrich Drepper <drepper@redhat.com>
Tue, 9 Jun 1998 13:26:02 +0000 (13:26 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 9 Jun 1998 13:26:02 +0000 (13:26 +0000)
sysdeps/unix/sysv/linux/netinet/ip.h

index 6d50bb41d1e5fc3703cb938bc27f7415fba4a66d..fc7e74db82f9a2c0a9bffd17322cedab2c15de95 100644 (file)
@@ -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