summaryrefslogtreecommitdiff
path: root/arch/i386/bits
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-07-21 22:44:05 -0400
committerRich Felker <dalias@aerifal.cx>2011-07-21 22:44:05 -0400
commit63d447e2a3bb7faf69e0befb123e6ffff0ce47ea (patch)
tree7a2c8db2c10e064e15252447ce97b4082614dd60 /arch/i386/bits
parentfa845669ce03c26c069fc34e7377b47fac23edd8 (diff)
downloadmusl-63d447e2a3bb7faf69e0befb123e6ffff0ce47ea.tar.gz
musl-63d447e2a3bb7faf69e0befb123e6ffff0ce47ea.tar.bz2
musl-63d447e2a3bb7faf69e0befb123e6ffff0ce47ea.tar.xz
musl-63d447e2a3bb7faf69e0befb123e6ffff0ce47ea.zip
socket headers macro adjustment - workaround for buggy programs
some program was undefining AF_NETLINK and thereby breaking AF_ROUTE...
Diffstat (limited to 'arch/i386/bits')
-rw-r--r--arch/i386/bits/socket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/bits/socket.h b/arch/i386/bits/socket.h
index 9d6722b9..8186ddf1 100644
--- a/arch/i386/bits/socket.h
+++ b/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