Commit 5c30544c authored by fogal1's avatar fogal1
Browse files

Add appropriate include to pick up strerror_r.

We were getting lucky before, with lax compilers that happened to
include cstring for us.

This fixes a compile error on g++ 4.3.  Thanks to Tom Evans (ORNL)
for the report + fix.
(This is a merge of 5612 from the RC.)


git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@5614 18c085ea-50e0-402c-830e-de6fd14e8384
parent bfacf991
...@@ -36,6 +36,7 @@ ...@@ -36,6 +36,7 @@
* *
*****************************************************************************/ *****************************************************************************/
#include <cerrno> #include <cerrno>
#include <cstring>
#include <MesaDisplay.h> #include <MesaDisplay.h>
......
...@@ -37,6 +37,7 @@ ...@@ -37,6 +37,7 @@
*****************************************************************************/ *****************************************************************************/
#include <cerrno> #include <cerrno>
#include <cstdlib> #include <cstdlib>
#include <cstring>
#include <string> #include <string>
#include <sys/types.h> #include <sys/types.h>
#include <sys/wait.h> #include <sys/wait.h>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment