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 2c59c2f..4747a23 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -8351,6 +8351,9 @@ PyInit__socket(void) #ifdef IP_TRANSPARENT PyModule_AddIntMacro(m, IP_TRANSPARENT); #endif +#ifdef IP_PKTINFO + PyModule_AddIntMacro(m, IP_PKTINFO); +#endif #ifdef IP_BIND_ADDRESS_NO_PORT PyModule_AddIntMacro(m, IP_BIND_ADDRESS_NO_PORT); #endif |