Просмотр исходного кода

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

Cyril Roelandt лет назад: 14
Родитель
Сommit
f08ca1d07c
1 измененных файлов с 1 добавлено и 0 удалено
  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;