From ea07eb9469d1c93a26560a00f6e4ca45d4c1ecdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charles-Fran=C3=A7ois=20Natali?= Date: Thu, 18 Sep 2014 23:18:46 +0100 Subject: [PATCH] Issue #22378: socket module: add SO_MARK. --- Modules/socketmodule.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index 7738c30c418..cb29821a507 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -6248,6 +6248,9 @@ PyInit__socket(void) #ifdef SO_PRIORITY PyModule_AddIntMacro(m, SO_PRIORITY); #endif +#ifdef SO_MARK + PyModule_AddIntMacro(m, SO_MARK); +#endif /* Maximum number of connections for "listen" */ #ifdef SOMAXCONN