Remove const-ness in inet_pton declaration.
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
index af41140..962fbfa 100644
--- a/Modules/socketmodule.c
+++ b/Modules/socketmodule.c
@@ -217,7 +217,7 @@
 #ifndef MS_WINDOWS
 
 #ifndef HAVE_INET_PTON
-int inet_pton (int af, const char *src, void *dst);
+int inet_pton (int af, char *src, void *dst);
 char *inet_ntop(int af, void *src, char *dst, socklen_t size);
 #endif