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.
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/time.h>
|
||||
#include <stdio.h>
|
||||
#if TIME_WITH_SYS_TIME
|
||||
# include <time.h>
|
||||
#endif
|
||||
#ifndef HAVE_TIMESPEC
|
||||
# include <emul/timespec.h>
|
||||
#endif
|
||||
|
||||
#include <config.h>
|
||||
#include <compat.h>
|
||||
|
||||
#ifndef lint
|
||||
|
Reference in New Issue
Block a user