components/python/python26/patches/Python26-10-gethostname.patch
changeset 115 c360825c3a3f
parent 99 c15c9099bb44
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/python/python26/patches/Python26-10-gethostname.patch	Tue Mar 01 14:19:15 2011 -0800
@@ -0,0 +1,15 @@
+diff --git Python-2.6.4/Include/pyport.h Python-2.6.4/Include/pyport.h
+--- Python-2.6.4/Include/pyport.h
++++ Python-2.6.4/Include/pyport.h
+@@ -449,11 +449,6 @@
+ in platform-specific #ifdefs.
+ **************************************************************************/
+ 
+-#ifdef SOLARIS
+-/* Unchecked */
+-extern int gethostname(char *, int);
+-#endif
+-
+ #ifdef __BEOS__
+ /* Unchecked */
+ /* It's in the libs, but not the headers... - [cjh] */