OpenNI/OpenNI2 — pull request #3 by zhemao (2012-12-30 23:07:35+00:00)
Title: Fixes for Building under Linux

I had to make some changes in order to get OpenNI2 to build on Linux.

The IsZero function in the XnLib code had to moved below the definition of Abs because it depended on the Abs definition.

In the Makefile for NiViewer, I added -pthread -lrt to the linker flags to pull in the necessary libraries.