+#ifndef TINC_IPV4_H
+#define TINC_IPV4_H
+
/*
ipv4.h -- missing IPv4 related definitions
Copyright (C) 2005 Ivo Timmermans
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef __TINC_IPV4_H__
-#define __TINC_IPV4_H__
-
#ifndef AF_INET
#define AF_INET 2
#endif
#ifndef HAVE_STRUCT_IP
struct ip {
-#if __BYTE_ORDER == __LITTLE_ENDIAN
+#if BYTE_ORDER == LITTLE_ENDIAN
unsigned int ip_hl:4;
unsigned int ip_v:4;
#else
} __attribute__ ((__packed__));
#endif
-#endif /* __TINC_IPV4_H__ */
+#endif