diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-01-16 04:31:40 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-01-16 04:31:40 (GMT) |
commit | 658516617c4e31bac7c894631d99f0b718a4b7ae (patch) | |
tree | 0a50de2416cdbad079daa9446df4ab88a0c898a0 /Modules/socketmodule.c | |
parent | 4678dc818fe923687d7d52b7d575444c3f339769 (diff) | |
download | cpython-658516617c4e31bac7c894631d99f0b718a4b7ae.zip cpython-658516617c4e31bac7c894631d99f0b718a4b7ae.tar.gz cpython-658516617c4e31bac7c894631d99f0b718a4b7ae.tar.bz2 |
Get socketmodule to build after adding netlink support.
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 2bddd9f..b88703c 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -3993,7 +3993,9 @@ init_socket(void) PyModule_AddIntConstant(m, "NETLINK_FIREWALL", NETLINK_FIREWALL); PyModule_AddIntConstant(m, "NETLINK_TCPDIAG", NETLINK_TCPDIAG); PyModule_AddIntConstant(m, "NETLINK_NFLOG", NETLINK_NFLOG); +#ifdef NETLINK_XFRM PyModule_AddIntConstant(m, "NETLINK_XFRM", NETLINK_XFRM); +#endif PyModule_AddIntConstant(m, "NETLINK_ARPD", NETLINK_ARPD); PyModule_AddIntConstant(m, "NETLINK_ROUTE6", NETLINK_ROUTE6); PyModule_AddIntConstant(m, "NETLINK_IP6_FW", NETLINK_IP6_FW); |