Annotation of pkgsrc/lang/python27/patches/patch-Include_pyport.h, revision 1.1
1.1 ! richard 1: $NetBSD$
! 2: SunOS defines gethostname in <unistd.h>
! 3: http://bugs.python.org/issue19561
! 4:
! 5: --- Include/pyport.h.orig 2014-05-31 18:58:38.000000000 +0000
! 6: +++ Include/pyport.h
! 7: @@ -640,11 +640,6 @@ Please be conservative with adding new o
! 8: in platform-specific #ifdefs.
! 9: **************************************************************************/
! 10:
! 11: -#ifdef SOLARIS
! 12: -/* Unchecked */
! 13: -extern int gethostname(char *, int);
! 14: -#endif
! 15: -
! 16: #ifdef __BEOS__
! 17: /* Unchecked */
! 18: /* It's in the libs, but not the headers... - [cjh] */
CVSweb <webmaster@jp.NetBSD.org>