MINGW-packages/mingw-w64-python/0118-socketmodule-fix-captilization-of-headers.patch
2025-06-07 14:11:54 +02:00

25 lines
777 B
Diff

From 33a869a80d7fc7dfc4df12d48104e7e56ce4a2aa Mon Sep 17 00:00:00 2001
From: Naveen M K <naveen521kk@gmail.com>
Date: Sat, 2 Nov 2024 11:30:54 +0530
Subject: [PATCH 118/N] socketmodule: fix captilization of headers
`Rpc` should be `rpc`. It error's out in
cross-compilation.
---
Modules/socketmodule.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
index 7038e10..f0d84d3 100644
--- a/Modules/socketmodule.c
+++ b/Modules/socketmodule.c
@@ -279,7 +279,7 @@ shutdown(how) -- shut down traffic in one or both directions\n\
# endif
/* Helpers needed for AF_HYPERV */
-# include <Rpc.h>
+# include <rpc.h>
/* Macros based on the IPPROTO enum, see: https://bugs.python.org/issue29515 */
#ifdef _MSC_VER