patch #8583: Add support for gcc on irix
[blender.git] / source / creator / creator.c
index 872a5f4d4971d2e0da6f857a47c4a39fe3fc1110..745978e2bb91c6c551cf35ef500b53fc492c74c6 100644 (file)
 #include <stdlib.h>
 #include <string.h>
 
+
+/* for setuid / getuid */
+#ifdef __sgi
+#include <sys/types.h>
+#include <unistd.h>
+#endif
+
 /* This little block needed for linking to Blender... */
 
 #include "MEM_guardedalloc.h"