summaryrefslogtreecommitdiff
path: root/python3/python-3.3.0-i42553.patch.2
blob: 324d0712c84f53b6b0dfe124caffd4df05f53ca6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
definition of gethostbyname conflicts with system /usr/include/unistd.h,
available since at least Solaris 2.6 according to python-Bugs-837046
Author: taniguchi@openoffice.org

--- misc/Python-2.6.1/Include/pyport.h	2008-06-11 09:41:16.000000000 +0200
+++ misc/build/Python-2.6.1/Include/pyport.h	2011-06-06 17:31:17.000000000 +0200
@@ -449,11 +449,6 @@
 in platform-specific #ifdefs.
 **************************************************************************/
 
-#ifdef SOLARIS
-/* Unchecked */
-extern int gethostname(char *, int);
-#endif
-
 #ifdef HAVE__GETPTY
 #include <sys/types.h>          /* we need to import mode_t */