mesa: Fix C++ includes in sampler.cpp
authorChad Versace <chad@chad-versace.us>
Mon, 1 Nov 2010 21:23:53 +0000 (14:23 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 2 Nov 2010 17:36:20 +0000 (10:36 -0700)
commit223568fbcd2f4ec295d932f5d71fe4b18bb279d3
treea9c8d67734c91094017f9ee3e659d1c334cde52d
parent8dfafbf0861fe3d2542332658dd5493851053c78
mesa: Fix C++ includes in sampler.cpp

Some C++ header files were included in an extern "C" block. When building with
Clang, this caused the build to fail due to namespace errors. (GCC did not
report any errors.)

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/program/sampler.cpp