xbmc/xbmc — pull request #1854 by tkurbad (2012-11-28 20:35:57+00:00)
Title: NFSDirectory.cpp must include limits.h

While debugging an issue with libnfs, it turned out that NFSDirectory.cpp relies on the inclusion of limits.h by other, most probably rpc-related header files.

nfslib is on its way to drop dependencies to external rpc symbols (s. https://github.com/sahlberg/libnfs/issues/24), and thus doesn't inlcude such headers any longer.

Since NFSDirectory.cpp uses MAX_PATH, which comes from limits.h, limits.h has to be properly included. Backwards compatibility should not be affected by this change.