From 1e335b2968f9a610328c33c077b3a91be246b7d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Tue, 13 Feb 2007 12:14:29 +0000 Subject: Patch #1657276: Make NETLINK_DNRTMSG conditional. --- Modules/socketmodule.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Modules/socketmodule.c') diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index c9f0388a30..9f833271d8 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -4363,7 +4363,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 -- cgit v1.2.1