Browse Source

socket headers macro adjustment - workaround for buggy programs

some program was undefining AF_NETLINK and thereby breaking AF_ROUTE...
rs-1.0
Rich Felker 15 years ago
parent
commit
63d447e2a3
  1. 2
      arch/i386/bits/socket.h
  2. 2
      arch/x86_64/bits/socket.h

2
arch/i386/bits/socket.h

@ -102,7 +102,7 @@ struct linger
#define AF_SECURITY PF_SECURITY
#define AF_KEY PF_KEY
#define AF_NETLINK PF_NETLINK
#define AF_ROUTE AF_NETLINK
#define AF_ROUTE PF_ROUTE
#define AF_PACKET PF_PACKET
#define AF_ASH PF_ASH
#define AF_ECONET PF_ECONET

2
arch/x86_64/bits/socket.h

@ -102,7 +102,7 @@ struct linger
#define AF_SECURITY PF_SECURITY
#define AF_KEY PF_KEY
#define AF_NETLINK PF_NETLINK
#define AF_ROUTE AF_NETLINK
#define AF_ROUTE PF_ROUTE
#define AF_PACKET PF_PACKET
#define AF_ASH PF_ASH
#define AF_ECONET PF_ECONET

Loading…
Cancel
Save