 - Remove unnecessary inclusion of <utmp.h>.  - Cast a value to time_t before comparing it to another    time_t to fix a warning.
 - Remove unnecessary inclusion of <utmp.h>.
 - Cast a value to time_t before comparing it to another
   time_t to fix a warning.

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase