#if TIME_WITH_SYS_TIME
# include <time.h>
#endif
-
+#ifdef HAVE_GETUTXID
+# include <utmpx.h>
+#endif
+#ifdef HAVE_GETUTID
+# include <utmp.h>
+#endif
#ifdef HAVE_SYSCTL
# include <sys/sysctl.h>
#endif
-#include "compat.h"
#include "missing.h"
/*
#elif defined(HAVE_GETUTXID)
-#include <utmpx.h>
int
get_boottime(tv)
struct timeval *tv;
#elif defined(HAVE_GETUTID)
-#include <utmp.h>
int
get_boottime(tv)
struct timeval *tv;