On Solaris pyconfig.h is delivered in the normal python header directory.
As this is Solaris-specific, it is not suitable for upstream.
--- Python-3.5.0a4/Lib/distutils/sysconfig.py.~1~ 2015-04-20 00:37:51.000000000 -0700
+++ Python-3.5.0a4/Lib/distutils/sysconfig.py 2015-04-20 13:50:39.821555060 -0700
@@ -231,7 +231,7 @@
else:
inc_dir = _sys_home or project_base
else:
- inc_dir = get_python_inc(plat_specific=1)
+ inc_dir = get_python_inc(plat_specific=0)
return os.path.join(inc_dir, 'pyconfig.h')