4912
|
1 |
This patch was adapted from a 2.6 patch which came from upstream:
|
|
2 |
http://bugs.python.org/issue19561
|
|
3 |
|
|
4 |
--- Python-3.5.0a4/Include/pyport.h.~1~ 2015-04-20 00:37:51.000000000 -0700
|
|
5 |
+++ Python-3.5.0a4/Include/pyport.h 2015-04-20 14:17:45.716965529 -0700
|
|
6 |
@@ -640,11 +640,6 @@
|
|
7 |
in platform-specific #ifdefs.
|
|
8 |
**************************************************************************/
|
|
9 |
|
|
10 |
-#ifdef SOLARIS
|
|
11 |
-/* Unchecked */
|
|
12 |
-extern int gethostname(char *, int);
|
|
13 |
-#endif
|
|
14 |
-
|
|
15 |
#ifdef HAVE__GETPTY
|
|
16 |
#include <sys/types.h> /* we need to import mode_t */
|
|
17 |
extern char * _getpty(int *, int, mode_t, int);
|