#include <err.h> for err(3) call and replace extern reference to errno with #include <errno.h>.
#include <err.h> for err(3) call and replace extern reference to errno
with #include <errno.h>.

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