diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2007-02-13 12:14:19 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2007-02-13 12:14:19 (GMT) |
commit | b1cc1d407b2eed5063a4c384411416cd7e302081 (patch) | |
tree | c77d3637f39571c5447afb42ef603bfee9bad103 /Modules/socketmodule.c | |
parent | 91670d0246e0178c88923fcf597a615f53dbd0cc (diff) | |
download | cpython-b1cc1d407b2eed5063a4c384411416cd7e302081.zip cpython-b1cc1d407b2eed5063a4c384411416cd7e302081.tar.gz cpython-b1cc1d407b2eed5063a4c384411416cd7e302081.tar.bz2 |
Patch #1657276: Make NETLINK_DNRTMSG conditional.
Will backport.
Diffstat (limited to 'Modules/socketmodule.c')
-rw-r--r-- | Modules/socketmodule.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index 82461d4..7ef2e04 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -4383,7 +4383,9 @@ init_socket(void) PyModule_AddIntConstant(m, "NETLINK_ROUTE6", NETLINK_ROUTE6); #endif PyModule_AddIntConstant(m, "NETLINK_IP6_FW", NETLINK_IP6_FW); +#ifdef NETLINK_DNRTMSG PyModule_AddIntConstant(m, "NETLINK_DNRTMSG", NETLINK_DNRTMSG); +#endif #ifdef NETLINK_TAPBASE PyModule_AddIntConstant(m, "NETLINK_TAPBASE", NETLINK_TAPBASE); #endif |