--- nightview-0.3.3/httpdaemon/httpserver.cpp~ 2008-10-29 17:03:25.000000000 -0500 +++ nightview-0.3.3/httpdaemon/httpserver.cpp 2012-03-06 10:02:45.907350434 -0600 @@ -18,6 +18,7 @@ #include <cstdlib> #include <errno.h> #include <syslog.h> +#include <unistd.h> /* system wide rc file name */ //#define SYSTEMRC "/usr/local/etc/nightviewd.conf" --- nightview-0.3.3/httpdaemon/http.cpp~ 2007-08-28 13:57:59.000000000 -0500 +++ nightview-0.3.3/httpdaemon/http.cpp 2012-03-06 10:15:12.525743591 -0600 @@ -11,6 +11,7 @@ #include "http.h" //#include <stdexcept> #include <cstring> +#include <unistd.h> #ifdef DEBUG #include <iostream> --- nightview-0.3.3/httpdaemon/http.h~ 2006-12-30 15:15:47.000000000 -0600 +++ nightview-0.3.3/httpdaemon/http.h 2012-03-06 10:29:07.574203946 -0600 @@ -10,6 +10,7 @@ #include <string> #include <vector> #include <stdexcept> +#include <unistd.h> class Logger { public: