This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Oren_Held
Recipients Oren_Held
Date 2011-02-02.20:28:47
SpamBayes Score 2.2166344e-06
Marked as misclassified No
Message-id <1296678527.78.0.73680277706.issue11102@psf.upfronthosting.co.za>
In-reply-to
Content
Attaching a patch I've made for fixing the problem in HP-UX, simply by #including sys/types.h on the configure test..

1. I'm not sure it'll be good for all platforms; maybe we need more 'configure' magic here to make it #include <sys/types.h> on this configure test only when needed (e.g. HP-UX v3).

2. Once 'configure' decides to enable the "os.major" feature, 'make' simply compiles it well - I didn't have to fix things in Modules/posixmodule.c (apparently sys/types.h is already loaded). I'm not sure it's smart to count on it.
History
Date User Action Args
2011-02-02 20:28:47Oren_Heldsetrecipients: + Oren_Held
2011-02-02 20:28:47Oren_Heldsetmessageid: <1296678527.78.0.73680277706.issue11102@psf.upfronthosting.co.za>
2011-02-02 20:28:47Oren_Heldlinkissue11102 messages
2011-02-02 20:28:47Oren_Heldcreate