aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/netinet/ip.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/netinet/ip.h')
-rw-r--r--sysdeps/unix/sysv/linux/netinet/ip.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/netinet/ip.h b/sysdeps/unix/sysv/linux/netinet/ip.h
index cb27ebf8aa..1add1b2b59 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
@@ -19,7 +19,7 @@
#ifndef __NETINET_IP_H
#define __NETINET_IP_H 1
-#include <sys/cdefs.h>
+#include <features.h>
#include <sys/types.h>
#include <netinet/in.h>
@@ -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