diff options
Diffstat (limited to 'jim-clock.c')
-rw-r--r-- | jim-clock.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/jim-clock.c b/jim-clock.c index 3d95aa3..fe957b2 100644 --- a/jim-clock.c +++ b/jim-clock.c @@ -14,12 +14,15 @@ #include <string.h> #include <stdio.h> #include <time.h> -#include <sys/time.h> #include "jim.h" #include "jimautoconf.h" #include "jim-subcmd.h" +#ifdef HAVE_SYS_TIME_H +#include <sys/time.h> +#endif + static int clock_cmd_format(Jim_Interp *interp, int argc, Jim_Obj *const *argv) { /* How big is big enough? */ |