VOGONS


First post, by TeaRex

User metadata
Rank Member
Rank
Member

Otherwise getenv() is undefined.

diff -u -r1.1 cross.cpp
--- src/misc/cross.cpp 1 Feb 2009 14:16:52 -0000 1.1
+++ src/misc/cross.cpp 2 Feb 2009 23:59:39 -0000
@@ -21,6 +21,7 @@
#include "dosbox.h"
#include "cross.h"
#include <string>
+#include <stdlib.h>

#ifdef WIN32
#define _WIN32_IE 0x0400

tearex

Reply 1 of 2, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

sounds okay
Which compiler btw ?

Water flows down the stream
How to ask questions the smart way!

Reply 2 of 2, by TeaRex

User metadata
Rank Member
Rank
Member

gcc (Ubuntu 4.3.2-1ubuntu12) 4.3.2

The one in Ubuntu Intrepid.

tearex