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 martin.panter
Recipients jamespharvey20, martin.panter
Date 2015-12-14.12:01:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1450094468.1.0.0797122348625.issue25853@psf.upfronthosting.co.za>
In-reply-to
Content
What platform, C library, etc do you have? According to Posix, struct timespec is normally defined in <time.h>, but can also be gotten via various other include files, many of which are included before "pytime.h".

In particular, <Python.h> includes "pyport.h", which has conditional code for including <time.h>, <sys/select.h> and <sys/stat.h>. All of these should define timespec. It might be useful to check your pyconfig.h file to see if stuff like the following is defined:

/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
#define TIME_WITH_SYS_TIME 1
History
Date User Action Args
2015-12-14 12:01:08martin.pantersetrecipients: + martin.panter, jamespharvey20
2015-12-14 12:01:08martin.pantersetmessageid: <1450094468.1.0.0797122348625.issue25853@psf.upfronthosting.co.za>
2015-12-14 12:01:08martin.panterlinkissue25853 messages
2015-12-14 12:01:07martin.pantercreate