-/* $Id: tclock.c,v 1.29 2010/11/14 01:04:52 tom Exp $ */
+/* $Id: tclock.c,v 1.30 2011/03/22 09:16:00 tom Exp $ */
#include <test.priv.h>
+#if HAVE_MATH_H
+
#include <math.h>
#if TIME_WITH_SYS_TIME
endwin();
ExitProgram(EXIT_SUCCESS);
}
+#else
+int
+main(int argc GCC_UNUSED, char *argv[]GCC_UNUSED)
+{
+ printf("This program requires the development header math.h\n");
+ ExitProgram(EXIT_FAILURE);
+}
+#endif