fix segmentation fault and include <string.h> for build with OSG 3.0.1

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5000 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 32379afec2f23e89ed8959f2633bcf2d14a7ee16
Former-commit-id: 6bcbbd81bfe050ad2f8173f28cc9f903dd3cc981
This commit is contained in:
torcs-ng 2012-10-14 18:28:52 +00:00
parent 972e827c9e
commit 9fd4115f60
2 changed files with 2 additions and 1 deletions

View file

@ -6,6 +6,7 @@
#include <vector> #include <vector>
#include <string> #include <string>
#include <string.h>
#include <iostream> #include <iostream>
#include <stdlib.h> #include <stdlib.h>
#include <sstream> #include <sstream>

View file

@ -139,5 +139,5 @@ SoundCam * OsgGraph::getCurCam()
cam->Speedv = gcam->getSpeedv(); cam->Speedv = gcam->getSpeedv();
cam->Posv = gcam->getPosv();*/ cam->Posv = gcam->getPosv();*/
//return cam; return 0; //return cam;
} }