diff options
Diffstat (limited to 'Modules/socketmodule.c')
-rw-r--r-- | Modules/socketmodule.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index 3618df1..c930ed3 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -5772,6 +5772,9 @@ PyInit__socket(void) #ifdef LOCAL_PEERCRED PyModule_AddIntConstant(m, "LOCAL_PEERCRED", LOCAL_PEERCRED); #endif +#ifdef SO_BINDTODEVICE + PyModule_AddIntMacro(m, SO_BINDTODEVICE); +#endif /* Maximum number of connections for "listen" */ #ifdef SOMAXCONN |