summaryrefslogtreecommitdiffstats
path: root/Modules/socketmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/socketmodule.c')
-rw-r--r--Modules/socketmodule.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
index 2e1a097..9ac2001 100644
--- a/Modules/socketmodule.c
+++ b/Modules/socketmodule.c
@@ -8803,6 +8803,9 @@ socket_exec(PyObject *m)
#ifdef NI_DGRAM
ADD_INT_MACRO(m, NI_DGRAM);
#endif
+#ifdef NI_IDN
+ ADD_INT_MACRO(m, NI_IDN);
+#endif
/* shutdown() parameters */
#ifdef SHUT_RD