Explorar el Código

Fix build for systems that do not define unsetenv().

Cyril Roelandt hace 14 años
padre
commit
f08ca1d07c
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      tests/errorcheck/starpu_init_noworker.c

+ 1 - 0
tests/errorcheck/starpu_init_noworker.c

@@ -23,6 +23,7 @@
 
 #if !(defined(_BSD_SOURCE) || _POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600)
 #warning unsetenv is not defined. Skipping test
+#include "../helper.h"
 int main(int argc, char **argv)
 {
 	return STARPU_TEST_SKIPPED;