patch from skejoe for gcc 4.3 compatibility

This commit is contained in:
Campbell Barton 2008-06-24 14:51:02 +00:00
parent a06f4f3817
commit fdb0b003f0
6 changed files with 9 additions and 2 deletions

@ -35,6 +35,8 @@
#include <X11/cursorfont.h>
#include <X11/Xatom.h>
#include <cstdio>
#if defined(__sun__) || defined( __sun ) || defined (__sparc) || defined (__sparc__)
#include <strings.h>
#endif

@ -42,6 +42,8 @@
#define assertd(exp) ((void)NULL)
#endif
#include <cstdlib>
#include <cstring>
#include <vector>
#include <limits.h>
using namespace std;

@ -63,8 +63,8 @@ void ED_operatortypes_screen(void);
void ED_keymap_screen(struct wmWindowManager *wm);
/* operators; context poll callbacks */
int ED_operator_screenactive(bContext *C);
int ED_operator_screen_mainwinactive(bContext *C);
int ED_operator_screenactive(struct bContext *C);
int ED_operator_screen_mainwinactive(struct bContext *C);
#endif /* ED_SCREEN_H */

@ -1,6 +1,7 @@
#include "export_File.h"
#include <math.h>
#include <cstring>
using namespace std;

@ -1,6 +1,7 @@
#include "export_Plugin.h"
#include <math.h>
#include <cstring>
using namespace std;

@ -7,6 +7,7 @@
#include "yafray_Render.h"
#include <math.h>
#include <cstring>
using namespace std;