]> git.lyx.org Git - features.git/blobdiff - src/support/putenv.C
Compaq cxx 6.5 will now compile lyx.
[features.git] / src / support / putenv.C
index a54c0dff3bc8e1d1d630eac4894bfd2dd275ffdd..8fe84032b0a03f9e522fd56186d39273e6664d1c 100644 (file)
@@ -1,6 +1,10 @@
 #include <config.h>
 
-#include <stdlib.h>
+#include <cstdlib>
+
+#ifndef CXX_GLOBAL_CSTD
+using std::putenv;
+#endif
 
 #include "lyxlib.h"
 int lyx::putenv(char const * str)