소스 검색

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

Cyril Roelandt 14 년 전
부모
커밋
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;