-#include <config.h>
+/**
+ * \file putenv.C
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author Lars Gullik Bjønnes
+ *
+ * Full author contact details are available in file CREDITS
+ */
-#include <stdlib.h>
+#include <config.h>
#include "lyxlib.h"
-int lyx::putenv(char const * str)
+
+#include <cstdlib>
+
+int lyx::support::putenv(char const * str)
{
return ::putenv(const_cast<char*>(str));
}