Remove free/bound cursor and scroll
[bpt/emacs.git] / lib-src / wakeup.c
index 7641843..c26289c 100644 (file)
@@ -1,7 +1,20 @@
 /* Program to produce output at regular intervals.  */
 
+#include <config.h>
+
 #include <stdio.h>
+#include <sys/types.h>
+
+#ifdef TIME_WITH_SYS_TIME
+#include <sys/time.h>
+#include <time.h>
+#else
+#ifdef HAVE_SYS_TIME_H
+#include <sys/time.h>
+#else
 #include <time.h>
+#endif
+#endif
 
 struct tm *localtime ();