forked from omniti-labs/omnios-build
-
-
Notifications
You must be signed in to change notification settings - Fork 108
Expand file tree
/
Copy path24-gethostname.patch
More file actions
18 lines (16 loc) · 680 Bytes
/
24-gethostname.patch
File metadata and controls
18 lines (16 loc) · 680 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
This patch was adapted from a 2.6 patch which came from upstream:
http://bugs.python.org/issue19561
diff -pruN '--exclude=*.orig' Python-2.7.14~/Include/pyport.h Python-2.7.14/Include/pyport.h
--- Python-2.7.14~/Include/pyport.h 2017-09-16 17:38:35.000000000 +0000
+++ Python-2.7.14/Include/pyport.h 2017-11-22 10:36:32.079607709 +0000
@@ -640,11 +640,6 @@ Please be conservative with adding new o
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] */