/*
* $Log$
+ * Revision 1.2 2008/02/13 18:05:06 james
+ * *** empty log message ***
+ *
* Revision 1.1 2008/02/13 16:57:29 james
* *** empty log message ***
*
#endif
#include <stdio.h>
+#include <stdlib.h>
/*the integer constants here are set by configure*/
/*get struct tm defined*/
#include <@G2_TM_H@>
+#if @G2_TM_IN_SYS_TIME@
+#include <sys/time.h>
+#if @G2_TIME_WITH_SYS_TIME@
+#include <time.h>
+#endif
+#else
+#if @G2_TIME_WITH_SYS_TIME@
+#include <sys/time.h>
+#endif
+#include <time.h>
+#endif
+
+
+#if @G2_HAVE_MALLOC_H@
+#include <malloc.h>
+#endif
+
+#if @G2_HAVE_UNISTD_H@
+#include <unistd.h>
+#endif
+
+#if @G2_HAVE_STDINT_H@
+#include <stdint.h>
+#elif @HAVE_SYS_INT_TYPES_H@
+#include <sys/int_types.h>
+#endif
+
+#include <termio.h>
+#include <termios.h>
+