Caught on NetBSD. Index: def.h =================================================================== RCS file: /cvs/src/usr.bin/mg/def.h,v retrieving revision 1.147 diff -u -r1.147 def.h --- def.h 3 Jun 2015 23:40:01 -0000 1.147 +++ def.h 21 Jun 2015 23:43:23 -0000 @@ -10,6 +10,8 @@ * per-terminal definitions are in special header files. */
+#include <time.h> + #include "chrdef.h" typedef int (*PF)(int, int); /* generally useful type */