Changes to build under LynxOS 2.3. Some more changes should be done to
build successfully, e.g. LynxOS 2.3 does not have snprintf().
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@571 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/rfb/Timer.cxx b/rfb/Timer.cxx
index 59d250e..66fd2b1 100644
--- a/rfb/Timer.cxx
+++ b/rfb/Timer.cxx
@@ -29,6 +29,11 @@
#include <rfb/util.h>
#include <rfb/LogWriter.h>
+// XXX Lynx/OS 2.3: proto for gettimeofday()
+#ifdef Lynx
+#include <sys/proto.h>
+#endif
+
using namespace rfb;
#ifndef __NO_DEFINE_VLOG__