Add include needed for clang, quiet warning

This commit is contained in:
Campbell Barton 2014-02-02 21:33:52 +11:00
parent 42b68c2b1d
commit 41cc86a666
2 changed files with 6 additions and 0 deletions

@ -89,6 +89,11 @@ void kernel_tex_copy(KernelGlobals *kg, const char *name, device_ptr mem, size_t
#define __KERNEL_SSE2__
#endif
/* quiet unused define warnings */
#if defined(__KERNEL_SSE2__)
/* do nothing */
#endif
/* Path Tracing */
void kernel_cpu_path_trace(KernelGlobals *kg, float *buffer, unsigned int *rng_state, int sample, int x, int y, int offset, int stride)

@ -50,6 +50,7 @@
#include <string.h>
#include <stdlib.h>
#include <stdint.h>
#include "MEM_guardedalloc.h"