From Andy Skinner, build fixes for Solaris

This commit is contained in:
Robert Osfield
2007-12-13 15:24:42 +00:00
parent 492e01d244
commit 831dc38166
3 changed files with 8 additions and 3 deletions

View File

@@ -27,6 +27,8 @@
# include <X11/Xlib.h>
#endif
#include <memory.h>
#include <stdlib.h>
#include <iostream>
#include <cmath>
#include "CameraConfig.h"
@@ -65,8 +67,8 @@ CameraConfig::CameraConfig() :
_offset_matrix[4] = 0.0; _offset_matrix[5] = 1.0; _offset_matrix[6] = 0.0; _offset_matrix[7] = 0.0;
_offset_matrix[8] = 0.0; _offset_matrix[9] = 0.0; _offset_matrix[10] = 1.0; _offset_matrix[11] = 0.0;
_offset_matrix[12] = 0.0; _offset_matrix[13] = 0.0; _offset_matrix[14] = 0.0; _offset_matrix[15] = 1.0;
_threadModelDirective = CameraGroup::getDefaultThreadModel();
_threadModelDirective = CameraGroup::getDefaultThreadModel();
}

View File

@@ -221,6 +221,7 @@
#define SUPPORT_CPP 1
#endif
#include <string.h>
#include <stdio.h>
#include <fstream>
#include <string>

View File

@@ -3,8 +3,10 @@
#include <vector>
#include <string>
#include <memory.h>
#include <stdio.h>
#include <stdlib.h>
#if defined(_MSC_VER) || defined(__MINGW32__)
#include <stdio.h>
#include <io.h>
#else
#include <unistd.h>