Move declatation of struct timespec to its own include files for
systems without it since it needs time_t defined.
This commit is contained in:
@@ -14,14 +14,18 @@
|
|||||||
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <config.h>
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#if TIME_WITH_SYS_TIME
|
#if TIME_WITH_SYS_TIME
|
||||||
# include <time.h>
|
# include <time.h>
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef HAVE_TIMESPEC
|
||||||
|
# include <emul/timespec.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <config.h>
|
|
||||||
#include <compat.h>
|
#include <compat.h>
|
||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
|
Reference in New Issue
Block a user