1
0
mirror of https://github.com/open-simh/simh.git synced 2026-01-25 11:55:43 +00:00

Compiler warning cleanup

This commit is contained in:
Mark Pizzolato
2011-10-31 10:26:58 -07:00
parent 4167c4cab9
commit bfb6e54819
2 changed files with 12 additions and 5 deletions

View File

@@ -35,7 +35,14 @@
#ifndef CLOCK_REALTIME
#define CLOCK_REALTIME 1
#define NEED_CLOCK_REALTIME 1
#define NEED_CLOCK_GETTIME 1
#ifndef HAVE_STRUCT_TIMESPEC
#define HAVE_STRUCT_TIMESPEC 1
struct timespec {
long tv_sec;
long tv_nsec;
};
#endif /* HAVE_STRUCT_TIMESPEC */
int clock_gettime(int clock_id, struct timespec *tp);
#endif