1 definition of gethostbyname conflicts with system /usr/include/unistd.h,
2 available since at least Solaris 2.6 according to python-Bugs-837046
3 Author: taniguchi@openoffice.org
5 --- misc/Python-2.6.1/Include/pyport.h 2008-06-11 09:41:16.000000000 +0200
6 +++ misc/build/Python-2.6.1/Include/pyport.h 2011-06-06 17:31:17.000000000 +0200
8 in platform-specific #ifdefs.
9 **************************************************************************/
13 -extern int gethostname(char *, int);
17 #include <sys/types.h> /* we need to import mode_t */
18 extern char * _getpty(int *, int, mode_t, int);