VDrift / vdrift

VDrift source code
http://vdrift.net/
GNU General Public License v3.0
355 stars 97 forks source link

radix.cpp needs "#include <stdlib.h>" added #120

Closed spinfoam closed 11 years ago

spinfoam commented 11 years ago

After clean check out of code today and trying to compile I got this error while radix.cpp was being compiled:

error: ‘rand’ was not declared in this scope

The problem is solved by adding:

#include <stdlib.h>

in radix.cpp. I am not a developer and am not sure if it is a desirable solution or if the problem is somewhere else (e.g. wrong environment setup) I've compiled on 64bit gentoo linux with gcc-4.7.2.

logzero commented 11 years ago

Thanks, should be fixed now.